Fixed request packet receipts timing out in spite of delivery.

This commit is contained in:
Mark Qvist 2021-08-28 23:53:51 +02:00
parent cdb08325cc
commit 781cb4712d
2 changed files with 4 additions and 1 deletions

View file

@ -864,6 +864,9 @@ class Transport:
if receipt.hash == proof_hash:
receipt_validated = receipt.validate_proof_packet(packet)
else:
# TODO: This looks like it should actually
# be rewritten when implicit proofs are added.
# In case of an implicit proof, we have
# to check every single outstanding receipt
receipt_validated = receipt.validate_proof_packet(packet)