Browse Source

minor fix: convert_wallet_type

283
ThomasV 8 years ago
parent
commit
357ea62303
  1. 4
      lib/storage.py

4
lib/storage.py

@ -221,11 +221,11 @@ class WalletStorage(PrintError):
def convert_wallet_type(self, is_test): def convert_wallet_type(self, is_test):
assert not self.requires_split() assert not self.requires_split()
if self.get('keystore') or self.get('x1/'): wallet_type = self.get('wallet_type')
if self.get('keystore') or self.get('x1/') or wallet_type=='imported':
return False return False
if is_test: if is_test:
return True return True
wallet_type = self.get('wallet_type')
seed_version = self.get_seed_version() seed_version = self.get_seed_version()
seed = self.get('seed') seed = self.get('seed')
xpubs = self.get('master_public_keys') xpubs = self.get('master_public_keys')

Loading…
Cancel
Save