From 34e3ba71470ea59f42a71195955c61d1c195a200 Mon Sep 17 00:00:00 2001 From: Lee Miller Date: Mon, 20 Nov 2023 00:35:39 +0200 Subject: [PATCH] Correct the condition for publishing onion peer --- minode/manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minode/manager.py b/minode/manager.py index 43766ad..2ec1dab 100644 --- a/minode/manager.py +++ b/minode/manager.py @@ -294,7 +294,7 @@ class Manager(threading.Thread): @staticmethod def publish_onion_peer(): - if shared.tor: + if shared.onion_hostname: logging.info('Publishing our onion peer') obj = structure.OnionPeer( shared.onion_hostname, shared.listening_port).to_object()