Browse Source

fix: do not create old_wallet if seed is empty because user typed gibberish

283
ThomasV 11 years ago
parent
commit
22408c1316
  1. 4
      lib/wallet.py

4
lib/wallet.py

@ -1716,8 +1716,12 @@ class OldWallet(Wallet):
raise
self.seed = mnemonic.mn_decode(words)
if not self.seed:
raise Exception("Invalid seed")
def get_master_public_key(self):
return self.storage.get("master_public_key")

Loading…
Cancel
Save