tfix: imported_account - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 0536f256cf9598c50897db9cc79f10c553dff26c DIR parent 2a938ad516fc996c67e30fc2b607888db723c47a HTML Author: ThomasV <thomasv@gitorious> Date: Fri, 2 May 2014 12:41:37 +0200 fix: imported_account Diffstat: M lib/wallet.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- DIR diff --git a/lib/wallet.py b/lib/wallet.py t@@ -177,7 +177,6 @@ class Abstract_Wallet: self.addressbook = storage.get('contacts', []) self.imported_keys = storage.get('imported_keys',{}) - self.imported_account = ImportedAccount(self.imported_keys) self.history = storage.get('addr_history',{}) # address -> list(txid, height) t@@ -1132,7 +1131,7 @@ class Imported_Wallet(Abstract_Wallet): assert address == k def get_accounts(self): - return { -1:self.imported_account } + return { -1: ImportedAccount(self.imported_keys) } t@@ -1381,7 +1380,7 @@ class Deterministic_Wallet(Abstract_Wallet): def get_accounts(self): out = sorted(self.accounts.items()) if self.imported_keys: - out.append( (-1, self.imported_account )) + out.append( (-1, ImportedAccount(self.imported_keys) )) return dict(out)