mirror of https://github.com/waku-org/nwaku.git
fix(setup): do not attempt connecting to empy dynamic bootstrap node list (#1088)
This commit is contained in:
parent
8a6b1cfba6
commit
11158c3ea2
|
@ -1071,8 +1071,9 @@ when isMainModule:
|
||||||
if conf.staticnodes.len > 0:
|
if conf.staticnodes.len > 0:
|
||||||
waitFor connectToNodes(node, conf.staticnodes, "static")
|
waitFor connectToNodes(node, conf.staticnodes, "static")
|
||||||
|
|
||||||
info "Connecting to dynamic bootstrap peers"
|
if dynamicBootstrapNodes.len > 0:
|
||||||
waitFor connectToNodes(node, dynamicBootstrapNodes, "dynamic bootstrap")
|
info "Connecting to dynamic bootstrap peers"
|
||||||
|
waitFor connectToNodes(node, dynamicBootstrapNodes, "dynamic bootstrap")
|
||||||
|
|
||||||
# Start keepalive, if enabled
|
# Start keepalive, if enabled
|
||||||
if conf.keepAlive:
|
if conf.keepAlive:
|
||||||
|
|
Loading…
Reference in New Issue