Fixed missing check in receipt culling

This commit is contained in:
Mark Qvist 2023-05-18 23:33:26 +02:00
parent 4c272aa536
commit 9c8e79546c

View File

@ -334,6 +334,7 @@ class Transport:
for receipt in Transport.receipts:
receipt.check_timeout()
if receipt.status != RNS.PacketReceipt.SENT:
if receipt in Transport.receipts:
Transport.receipts.remove(receipt)
Transport.receipts_last_checked = time.time()