tfix bug with import_key - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 380e0728429679ebbd84ca5f5f99ec547ae6724e DIR parent 31739d01d79b77cdaf63a51dd2cd85a165759c10 HTML Author: ThomasV <thomasv@gitorious> Date: Sat, 18 Jul 2015 11:00:41 +0200 fix bug with import_key Diffstat: M lib/wallet.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/lib/wallet.py b/lib/wallet.py t@@ -336,8 +336,8 @@ class Abstract_Wallet(object): self.save_accounts() # force resynchronization, because we need to re-run add_transaction - if addr in self.history: - self.history.pop(addr) + if address in self.history: + self.history.pop(address) if self.synchronizer: self.synchronizer.add(address)