fix bug with import_key

This commit is contained in:
ThomasV 2015-07-18 11:00:41 +02:00
parent 31739d01d7
commit 380e072842
1 changed files with 2 additions and 2 deletions

View File

@ -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)