wallet: fix clear_history

This commit is contained in:
SomberNight 2020-10-09 16:22:59 +02:00
parent ad03c1e3cb
commit 772199a766
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9

View file

@ -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."""