From 380e0728429679ebbd84ca5f5f99ec547ae6724e Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sat, 18 Jul 2015 11:00:41 +0200 Subject: [PATCH] fix bug with import_key --- lib/wallet.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/wallet.py b/lib/wallet.py index f023db70..10db704f 100644 --- 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)