mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-05-06 08:25:57 -04:00
Refactored Packet method names
This commit is contained in:
parent
cd2f49272d
commit
55c0f44e58
5 changed files with 15 additions and 15 deletions
|
@ -483,7 +483,7 @@ class Resource:
|
|||
RNS.log("The contained exception was: "+str(e), RNS.LOG_DEBUG)
|
||||
self.cancel()
|
||||
|
||||
def validateProof(self, proof_data):
|
||||
def validate_proof(self, proof_data):
|
||||
if not self.status == Resource.FAILED:
|
||||
if len(proof_data) == RNS.Identity.HASHLENGTH//8*2:
|
||||
if proof_data[RNS.Identity.HASHLENGTH//8:] == self.expected_proof:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue