Fixed static length calculation in proof destination generation

pull/76/head
Mark Qvist 2022-06-30 19:33:35 +02:00
rodzic 1cd7c85a52
commit 2e19304ebf
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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