mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-01-18 16:30:33 +00:00
Link proof MTU
This commit is contained in:
parent
97cfdfd023
commit
808082e300
@ -302,7 +302,7 @@ class Link:
|
|||||||
|
|
||||||
def prove(self):
|
def prove(self):
|
||||||
mtu_bytes = b""
|
mtu_bytes = b""
|
||||||
if RNS.Reticulum.LINK_MTU_DISCOVERY and self.mtu != RNS.Reticulum.MTU:
|
if self.mtu != RNS.Reticulum.MTU:
|
||||||
mtu_bytes = Link.mtu_bytes(self.mtu)
|
mtu_bytes = Link.mtu_bytes(self.mtu)
|
||||||
|
|
||||||
signed_data = self.link_id+self.pub_bytes+self.sig_pub_bytes+mtu_bytes
|
signed_data = self.link_id+self.pub_bytes+self.sig_pub_bytes+mtu_bytes
|
||||||
|
Loading…
Reference in New Issue
Block a user