tfix: hw_type - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 62b47ca3b323dd6f8fe8f3e9291846ad00afb271 DIR parent 33c77879418c0e479582fa690582516518417000 HTML Author: ThomasV <thomasv@electrum.org> Date: Sat, 27 Aug 2016 11:25:53 +0200 fix: hw_type Diffstat: M lib/storage.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/lib/storage.py b/lib/storage.py t@@ -196,7 +196,7 @@ class WalletStorage(PrintError): storage2.put('wallet_type', 'standard') if wallet_type in ['trezor', 'keepkey']: storage2.put('key_type', 'hardware') - storage2.put('hardware_type', wallet_type) + storage2.put('hw_type', wallet_type) storage2.put('accounts', {'0': x}) # need to save derivation and xpub too storage2.put('master_public_keys', {'x/': xpub}) t@@ -266,7 +266,7 @@ class WalletStorage(PrintError): xpub = xpubs["x/0'"] d = { 'type': 'hardware', - 'hardware_type': wallet_type, + 'hw_type': wallet_type, 'xpub': xpub, 'derivation': bip44_derivation(0), }