commit 357ea62303633e6514378c4ebe231fab911a614b
parent 87e3db91ddad35edf04338910d3e63cc99dd5e27
Author: ThomasV <thomasv@electrum.org>
Date: Sun, 28 Aug 2016 15:37:37 +0200
minor fix: convert_wallet_type
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/storage.py b/lib/storage.py
@@ -221,11 +221,11 @@ class WalletStorage(PrintError):
def convert_wallet_type(self, is_test):
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
if is_test:
return True
- wallet_type = self.get('wallet_type')
seed_version = self.get_seed_version()
seed = self.get('seed')
xpubs = self.get('master_public_keys')