wallet: fix clear_history
This commit is contained in:
@@ -412,6 +412,7 @@ class AddressSynchronizer(Logger):
|
|||||||
with self.lock:
|
with self.lock:
|
||||||
with self.transaction_lock:
|
with self.transaction_lock:
|
||||||
self.db.clear_history()
|
self.db.clear_history()
|
||||||
|
self._history_local.clear()
|
||||||
|
|
||||||
def get_txpos(self, tx_hash):
|
def get_txpos(self, tx_hash):
|
||||||
"""Returns (height, txpos) tuple, even if the tx is unverified."""
|
"""Returns (height, txpos) tuple, even if the tx is unverified."""
|
||||||
|
|||||||
Reference in New Issue
Block a user