Fixed removal of non-existing receipts.

This commit is contained in:
Mark Qvist 2021-09-05 20:05:12 +02:00
parent 5629a062a5
commit 534bb28900

View File

@ -893,6 +893,7 @@ class Transport:
receipt_validated = receipt.validate_proof_packet(packet) receipt_validated = receipt.validate_proof_packet(packet)
if receipt_validated: if receipt_validated:
if receipt in Transport.receipts:
Transport.receipts.remove(receipt) Transport.receipts.remove(receipt)
Transport.jobs_locked = False Transport.jobs_locked = False