commit 380e0728429679ebbd84ca5f5f99ec547ae6724e
parent 31739d01d79b77cdaf63a51dd2cd85a165759c10
Author: ThomasV <thomasv@gitorious>
Date: Sat, 18 Jul 2015 11:00:41 +0200
fix bug with import_key
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/wallet.py b/lib/wallet.py
@@ -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)