commit 772199a7668f08eb1c142104a9f7e01cfdc76b6b
parent ad03c1e3cb3e49ab3608ac0eb17da435cd16255c
Author: SomberNight <somber.night@protonmail.com>
Date: Fri, 9 Oct 2020 16:22:59 +0200
wallet: fix clear_history
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/electrum/address_synchronizer.py b/electrum/address_synchronizer.py
@@ -412,6 +412,7 @@ class AddressSynchronizer(Logger):
with self.lock:
with self.transaction_lock:
self.db.clear_history()
+ self._history_local.clear()
def get_txpos(self, tx_hash):
"""Returns (height, txpos) tuple, even if the tx is unverified."""