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:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user