mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-05-10 10:25:38 -04:00
Refactored Packet method names
This commit is contained in:
parent
cd2f49272d
commit
55c0f44e58
5 changed files with 15 additions and 15 deletions
|
@ -862,11 +862,11 @@ class Transport:
|
|||
if proof_hash != None:
|
||||
# Only test validation if hash matches
|
||||
if receipt.hash == proof_hash:
|
||||
receipt_validated = receipt.validateProofPacket(packet)
|
||||
receipt_validated = receipt.validate_proof_packet(packet)
|
||||
else:
|
||||
# In case of an implicit proof, we have
|
||||
# to check every single outstanding receipt
|
||||
receipt_validated = receipt.validateProofPacket(packet)
|
||||
receipt_validated = receipt.validate_proof_packet(packet)
|
||||
|
||||
if receipt_validated:
|
||||
Transport.receipts.remove(receipt)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue