commit 7dc4102e7db39489fa986afb6b2b31f5de584dfb
parent 370bdbe85559f3cd20808e684cd0919b9ab6a6a4
Author: ThomasV <thomasv1@gmx.de>
Date: Thu, 8 May 2014 09:14:01 +0200
Merge pull request #683 from atweiden/empty-seed-error-msg-fix
empty seed error msg
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/electrum b/electrum
@@ -250,6 +250,8 @@ if __name__ == '__main__':
else:
import getpass
seed = getpass.getpass(prompt="seed:", stream=None) if options.concealed else raw_input("seed:")
+ if not seed:
+ sys.exit("Error: Seed cannot be empty")
wallet = Wallet.from_seed(str(seed),storage)
if not wallet:
sys.exit("Error: Invalid seed")