Fixed static length calculation in proof destination generation
This commit is contained in:
parent
1cd7c85a52
commit
2e19304ebf
@ -323,7 +323,7 @@ class Packet:
|
||||
|
||||
class ProofDestination:
|
||||
def __init__(self, packet):
|
||||
self.hash = packet.get_hash()[:10];
|
||||
self.hash = packet.get_hash()[:RNS.Reticulum.TRUNCATED_HASHLENGTH//8];
|
||||
self.type = RNS.Destination.SINGLE
|
||||
|
||||
def encrypt(self, plaintext):
|
||||
|
Loading…
Reference in New Issue
Block a user