Browse Source

wallet_db.clear_history: now clears prevouts_by_scripthash too

(which is the logical thing to do, as it too will be rebuilt as part of
the history, and the parts of it that might not be present after the
rebuild is exactly what a call to "clear_history" is supposed to get rid of)
hard-fail-on-bad-server-string
SomberNight 5 years ago
parent
commit
7ac1cace7a
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 1
      electrum/wallet_db.py

1
electrum/wallet_db.py

@ -1082,6 +1082,7 @@ class WalletDB(JsonDB):
self.history.clear()
self.verified_tx.clear()
self.tx_fees.clear()
self._prevouts_by_scripthash.clear()
def _convert_dict(self, path, key, v):
if key == 'transactions':

Loading…
Cancel
Save