tfix #2063 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 6020d72b1b7d26e4e694b912aecad82a2085dc7d DIR parent 07896efa21a06d20a2f11d9cb4d77fb187bf7f8c HTML Author: ThomasV <thomasv@electrum.org> Date: Thu, 22 Dec 2016 22:03:56 +0100 fix #2063 Diffstat: M lib/storage.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) --- DIR diff --git a/lib/storage.py b/lib/storage.py t@@ -263,7 +263,7 @@ class WalletStorage(PrintError): self.put('wallet_type', 'standard') self.put('keystore', d) - elif wallet_type in['xpub', 'standard']: + elif wallet_type in ['xpub', 'standard']: xpub = xpubs["x/"] xprv = xprvs.get("x/") d = { t@@ -275,6 +275,17 @@ class WalletStorage(PrintError): self.put('wallet_type', 'standard') self.put('keystore', d) + elif wallet_type in ['bip44']: + xpub = xpubs["x/0'"] + xprv = xprvs.get("x/0'") + d = { + 'type': 'bip32', + 'xpub': xpub, + 'xprv': xprv, + } + self.put('wallet_type', 'standard') + self.put('keystore', d) + elif wallet_type in ['trezor', 'keepkey', 'ledger']: xpub = xpubs["x/0'"] derivation = self.get('derivation', bip44_derivation(0))