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,7 +893,8 @@ class Transport:
receipt_validated = receipt.validate_proof_packet(packet)
if receipt_validated:
Transport.receipts.remove(receipt)
if receipt in Transport.receipts:
Transport.receipts.remove(receipt)
Transport.jobs_locked = False