commit 66f8fe764857339effcddfd54963d0106ef2377f
parent fb548018b4557743214805c88e3c4f605d6dde95
Author: ThomasV <thomasv@electrum.org>
Date: Mon, 29 Aug 2016 08:38:09 +0200
fix: assert in convert_wallet_type
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/storage.py b/lib/storage.py
@@ -220,12 +220,12 @@ class WalletStorage(PrintError):
self.write()
def convert_wallet_type(self, is_test):
- assert not self.requires_split()
wallet_type = self.get('wallet_type')
if self.get('keystore') or self.get('x1/') or wallet_type=='imported':
return False
if is_test:
return True
+ assert not self.requires_split()
seed_version = self.get_seed_version()
seed = self.get('seed')
xpubs = self.get('master_public_keys')