Correct the condition for publishing onion peer
This commit is contained in:
parent
013da37b9b
commit
34e3ba7147
|
@ -294,7 +294,7 @@ class Manager(threading.Thread):
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def publish_onion_peer():
|
def publish_onion_peer():
|
||||||
if shared.tor:
|
if shared.onion_hostname:
|
||||||
logging.info('Publishing our onion peer')
|
logging.info('Publishing our onion peer')
|
||||||
obj = structure.OnionPeer(
|
obj = structure.OnionPeer(
|
||||||
shared.onion_hostname, shared.listening_port).to_object()
|
shared.onion_hostname, shared.listening_port).to_object()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user