tfix storage update for btchip - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit c820423b00553913024ff8c2f54ac2fd5e3a9b89 DIR parent 323188b9631affec42088023a3c5b95fbda0f59e HTML Author: ThomasV <thomasv@electrum.org> Date: Wed, 31 Aug 2016 18:11:37 +0200 fix storage update for btchip Diffstat: M lib/storage.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- DIR diff --git a/lib/storage.py b/lib/storage.py t@@ -185,7 +185,7 @@ class WalletStorage(PrintError): storage2.upgrade() storage2.write() result = [storage1.path, storage2.path] - elif wallet_type in ['bip44', 'trezor', 'keepkey', 'ledger']: + elif wallet_type in ['bip44', 'trezor', 'keepkey', 'ledger', 'btchip']: mpk = storage.get('master_public_keys') for k in d.keys(): i = int(k) t@@ -218,6 +218,7 @@ class WalletStorage(PrintError): def convert_wallet_type(self): wallet_type = self.get('wallet_type') + if wallet_type == 'btchip': wallet_type = 'ledger' if self.get('keystore') or self.get('x1/') or wallet_type=='imported': return False assert not self.requires_split()