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.
This commit is contained in:
SomberNight 2018-09-18 03:48:14 +02:00
parent 533bd97a05
commit 01246b0d97
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9

View File

@ -577,9 +577,6 @@ class AddressSynchronizer(PrintError):
with self.lock:
# tx will be verified only if height > 0
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):
with self.lock: