Fixed static length calculation in proof destination generation

This commit is contained in:
Mark Qvist 2022-06-30 19:33:35 +02:00
parent 1cd7c85a52
commit 2e19304ebf
1 changed files with 1 additions and 1 deletions

View File

@ -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):