twallet: fix clear_history - electrum - Electrum Bitcoin wallet
 (HTM) git clone https://git.parazyd.org/electrum
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
       ---
 (DIR) commit 772199a7668f08eb1c142104a9f7e01cfdc76b6b
 (DIR) parent ad03c1e3cb3e49ab3608ac0eb17da435cd16255c
 (HTM) Author: SomberNight <somber.night@protonmail.com>
       Date:   Fri,  9 Oct 2020 16:22:59 +0200
       
       wallet: fix clear_history
       
       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@@ -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."""