From 2e19304ebff779385b42c73ad903b9934e73aa9f Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Thu, 30 Jun 2022 19:33:35 +0200 Subject: [PATCH] Fixed static length calculation in proof destination generation --- RNS/Packet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RNS/Packet.py b/RNS/Packet.py index a78efbe..46ad940 100755 --- a/RNS/Packet.py +++ b/RNS/Packet.py @@ -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):