Fixed self-signature verification warnings

This commit is contained in:
Mark Qvist 2021-05-14 17:51:38 +02:00
parent c0699070b2
commit ab27f17ea9

View File

@ -109,6 +109,14 @@ class NomadNetworkApp:
self.message_router.register_delivery_callback(self.lxmf_delivery)
self.lxmf_destination = self.message_router.register_delivery_identity(self.identity)
RNS.Identity.remember(
packet_hash=None,
destination_hash=self.lxmf_destination.hash,
public_key=self.identity.pub_bytes,
app_data=None
)
RNS.log("LXMF Router ready to receive on: "+RNS.prettyhexrep(self.lxmf_destination.hash))
self.directory = nomadnet.Directory.Directory(self)