tfix for seed_version - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit f3e2e7b50164303dd2b8c1475cbd99fcdf791bee
DIR parent e22dfc443cfa0fef1cc2026bd9b3b404211a1b24
HTML Author: ThomasV <thomasv@gitorious>
Date: Thu, 11 Sep 2014 15:11:46 +0200
fix for seed_version
Diffstat:
M lib/wallet.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/lib/wallet.py b/lib/wallet.py
t@@ -1610,7 +1610,7 @@ class Wallet(object):
seed_version = storage.get('seed_version')
if not seed_version:
- seed_version = OLD_SEED_VERSION if len(storage.get('master_public_key')) == 128 else NEW_SEED_VERSION
+ seed_version = OLD_SEED_VERSION if len(storage.get('master_public_key','')) == 128 else NEW_SEED_VERSION
if seed_version not in [OLD_SEED_VERSION, NEW_SEED_VERSION]:
msg = "This wallet seed is not supported anymore."