mirror of
https://github.com/markqvist/Reticulum
synced 2026-11-27 13:52:15 +00:00
Fixed static length calculation in proof destination generation
This commit is contained in:
1 parent
1cd7c85a52
commit
2e19304ebf
1 file changed
+1
-1
+1
-1
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user