chore: upgrade peer exchange mounting (#2953)

This commit is contained in:
Darshan K 2024-08-06 13:27:25 +05:30 committed by GitHub
parent f534549a1e
commit 42f1bed04c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 8 deletions

View File

@ -338,7 +338,7 @@ proc setupProtocols(
return err("failed to set node waku filter peer: " & filterNode.error)
# waku peer exchange setup
if conf.peerExchangeNode != "" or conf.peerExchange:
if conf.peerExchange:
try:
await mountPeerExchange(node, some(conf.clusterId))
except CatchableError: