tfix: type of account_id - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit c101379eb01bc9ff88cc7ba7d38e7a0e9e20e019 DIR parent 55aa29917debfab8d332eb311bb783bd37e809ee HTML Author: ThomasV <thomasv@electrum.org> Date: Mon, 15 Aug 2016 14:43:24 +0200 fix: type of account_id Diffstat: M plugins/trezor/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/plugins/trezor/plugin.py b/plugins/trezor/plugin.py t@@ -25,7 +25,7 @@ class TrezorCompatibleKeyStore(Hardware_KeyStore): def load(self, storage, name): self.xpub = storage.get('master_public_keys', {}).get(name) - self.account_id = storage.get('account_id') + self.account_id = int(storage.get('account_id')) def get_derivation(self): return "m/44'/0'/%d'"%self.account_id