From 7ff7a16470a0dd1bb2fbeafc343e1df911238412 Mon Sep 17 00:00:00 2001 From: TheKysek Date: Sun, 23 Jul 2017 20:58:00 +0200 Subject: [PATCH] Do not publish transient I2P destinations --- minode/manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minode/manager.py b/minode/manager.py index 04a36e8..5d5de4e 100644 --- a/minode/manager.py +++ b/minode/manager.py @@ -160,7 +160,7 @@ class Manager(threading.Thread): @staticmethod def publish_i2p_destination(): - if shared.i2p_session_nick: + if shared.i2p_session_nick and not shared.i2p_transient: logging.info('Publishing our I2P destination') dest_pub_raw = base64.b64decode(shared.i2p_dest_pub, altchars=b'-~') obj = structure.Object(b'\x00' * 8, int(time.time() + 2 * 3600), shared.i2p_dest_obj_type, shared.i2p_dest_obj_version, 1, dest_pub_raw)