Clarify message output on confirm command

pull/1/head
Mark Veidemanis 4 years ago
parent 16ab37cc0c
commit 09405f374e

@ -15,7 +15,7 @@ class ConfirmCommand:
failure("Must be a number, not %s" % spl[2]) failure("Must be a number, not %s" % spl[2])
return return
if not int(spl[2]) in main.network[spl[1]].relays.keys(): if not int(spl[2]) in main.network[spl[1]].relays.keys():
failure("No such relay on %s: %s" % (spl[2], spl[1])) failure("No such relay on %s: %s" % (spl[1], spl[2]))
return return
regproc.confirmAccount(spl[1], int(spl[2]), spl[3]) regproc.confirmAccount(spl[1], int(spl[2]), spl[3])
success("Requested confirmation on %s - %s with token %s" % (spl[1], spl[2], spl[3])) success("Requested confirmation on %s - %s with token %s" % (spl[1], spl[2], spl[3]))

Loading…
Cancel
Save