mirror of
https://github.com/waku-org/nwaku.git
synced 2025-02-10 22:16:40 +00:00
deploy: 9be3d296beefb88d0193fd1c0b057f9370f8442e
This commit is contained in:
parent
4cce72d4f1
commit
ec8efbee7d
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# libtool - Provide generalized library-building support services.
|
# libtool - Provide generalized library-building support services.
|
||||||
# Generated automatically by config.status (libbacktrace) version-unused
|
# Generated automatically by config.status (libbacktrace) version-unused
|
||||||
# Libtool was configured on host fv-az550-353:
|
# Libtool was configured on host fv-az39-688:
|
||||||
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
|
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
|
||||||
#
|
#
|
||||||
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
|
||||||
|
@ -707,7 +707,7 @@ proc runDiscv5Loop(node: WakuNode) {.async.} =
|
|||||||
trace "Discovered peers", count=discoveredPeers.get().len()
|
trace "Discovered peers", count=discoveredPeers.get().len()
|
||||||
|
|
||||||
let newPeers = discoveredPeers.get().filterIt(
|
let newPeers = discoveredPeers.get().filterIt(
|
||||||
not node.switch.peerStore[AddressBook].contains(it.peerId))
|
not node.switch.isConnected(it.peerId))
|
||||||
|
|
||||||
if newPeers.len > 0:
|
if newPeers.len > 0:
|
||||||
debug "Connecting to newly discovered peers", count=newPeers.len()
|
debug "Connecting to newly discovered peers", count=newPeers.len()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user