Browse Source

Merge pull request #683 from atweiden/empty-seed-error-msg-fix

empty seed error msg
283
ThomasV 11 years ago
parent
commit
7dc4102e7d
  1. 2
      electrum

2
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")

Loading…
Cancel
Save