only try to connect if node has an ip
This commit is contained in:
parent
59062d40c7
commit
919a8454de
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ class Node(Thread):
|
||||||
self.resolve()
|
self.resolve()
|
||||||
u = self.user
|
u = self.user
|
||||||
logger.debug('go_online peer=%s queued=%s (%s)', u.peered, u.queued, u.id)
|
logger.debug('go_online peer=%s queued=%s (%s)', u.peered, u.queued, u.id)
|
||||||
if u.peered or u.queued and self.host:
|
if (u.peered or u.queued) and self.host:
|
||||||
try:
|
try:
|
||||||
self.online = False
|
self.online = False
|
||||||
logger.debug('try to connect to %s at [%s]:%s', self.user_id, self.host, self.port)
|
logger.debug('try to connect to %s at [%s]:%s', self.user_id, self.host, self.port)
|
||||||
|
|
Loading…
Reference in a new issue