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()