mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-14 08:57:14 +00:00
fix: call runPeerExchangeDiscv5Loop (#1297)
This commit is contained in:
parent
8f5363ea8f
commit
c99b0a4778
@ -363,6 +363,8 @@ proc setupProtocols(node: WakuNode, conf: WakuNodeConf, mStorage: MessageStore):
|
||||
except:
|
||||
return err("failed to mount waku peer-exchange protocol: " & getCurrentExceptionMsg())
|
||||
|
||||
asyncSpawn runPeerExchangeDiscv5Loop(node.wakuPeerExchange)
|
||||
|
||||
if conf.peerExchangeNode != "":
|
||||
try:
|
||||
setPeerExchangePeer(node, conf.peerExchangeNode)
|
||||
|
Loading…
x
Reference in New Issue
Block a user