dont ping outselves
This commit is contained in:
parent
4c7f357441
commit
ee12985135
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ class Node:
|
|||
if known_node_urls:
|
||||
for host, port in known_node_urls:
|
||||
address = await resolve_host(host, port, proto='udp')
|
||||
if (address, port) not in known_node_addresses:
|
||||
if (address, port) not in known_node_addresses and address != self.protocol.external_ip:
|
||||
known_node_addresses.append((address, port))
|
||||
url_to_addr[address] = host
|
||||
|
||||
|
|
Loading…
Reference in a new issue