tfix wallet.clear_history() - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 859f8ccf8e5c784d9c2e307f5ff4f8cc293ee27d DIR parent 5a2a724cb998bf414f3d3213138ac5385c64aaa0 HTML Author: SomberNight <somber.night@protonmail.com> Date: Thu, 4 Mar 2021 14:25:41 +0100 fix wallet.clear_history() it would result in "wallet.get_history() failed balance sanity-check" maybe related: https://github.com/spesmilo/electrum/issues/6792 Diffstat: M electrum/address_synchronizer.py | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) --- DIR diff --git a/electrum/address_synchronizer.py b/electrum/address_synchronizer.py t@@ -458,6 +458,7 @@ class AddressSynchronizer(Logger): with self.transaction_lock: self.db.clear_history() self._history_local.clear() + self._get_addr_balance_cache = {} # invalidate cache def get_txpos(self, tx_hash): """Returns (height, txpos) tuple, even if the tx is unverified."""