electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit fd8af94419f76ea06e8d7d5b953fd44a73065512
parent e6965ef32c09794247bf04acb4601ce81b5443aa
Author: Amir Taaki <genjix@riseup.net>
Date:   Tue, 17 Jul 2012 22:53:06 +0200

bugfix: signmessage expects 2 arguments. check for them.

Diffstat:
Melectrum | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/electrum b/electrum @@ -491,6 +491,10 @@ if __name__ == '__main__': wallet.update_password(seed, password, new_password) elif cmd == 'signmessage': + if len(args) < 3: + print_error("Error: Invalid usage of signmessage.") + print known_commands[cmd] + sys.exit(1) address = args[1] message = ' '.join(args[2:]) if len(args) > 3: