From ab27f17ea97401beea450c985d33c2cdaefb2f1d Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Fri, 14 May 2021 17:51:38 +0200 Subject: [PATCH] Fixed self-signature verification warnings --- nomadnet/NomadNetworkApp.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nomadnet/NomadNetworkApp.py b/nomadnet/NomadNetworkApp.py index 7d08ecd..56b194e 100644 --- a/nomadnet/NomadNetworkApp.py +++ b/nomadnet/NomadNetworkApp.py @@ -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)