Browse Source

wallet/verifier: when adding into unverified_tx, don't remove from verifier

Not needed since aee2d8e120
And was never really working I guess (race..)
Also, during normal initial history sync, it caused the verifier to request
proofs multiple times.
3.3.3.1
SomberNight 6 years ago
parent
commit
01246b0d97
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 3
      electrum/address_synchronizer.py

3
electrum/address_synchronizer.py

@ -577,9 +577,6 @@ class AddressSynchronizer(PrintError):
with self.lock: with self.lock:
# tx will be verified only if height > 0 # tx will be verified only if height > 0
self.unverified_tx[tx_hash] = tx_height self.unverified_tx[tx_hash] = tx_height
# to remove pending proof requests:
if self.verifier:
self.verifier.remove_spv_proof_for_tx(tx_hash)
def remove_unverified_tx(self, tx_hash, tx_height): def remove_unverified_tx(self, tx_hash, tx_height):
with self.lock: with self.lock:

Loading…
Cancel
Save