Skip to content

Commit

Permalink
don't exit if first px request fails
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielmer committed Oct 25, 2024
1 parent 7420e0e commit fd7c9e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion waku/factory/node_factory.nim
Original file line number Diff line number Diff line change
Expand Up @@ -425,8 +425,8 @@ proc startNode*(
desiredOutDegree = node.wakuRelay.parameters.d.uint64()
(await node.fetchPeerExchangePeers(desiredOutDegree)).isOkOr:
error "error while fetching peers from peer exchange", error = error
quit(QuitFailure)

# Use px to periodically get peers if discv5 is disabled
if conf.peerExchange and not conf.discv5Discovery:
node.startPeerExchangeLoop()

Expand Down

0 comments on commit fd7c9e0

Please sign in to comment.