Fixed removal of non-existing receipts.
This commit is contained in:
parent
5629a062a5
commit
534bb28900
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user