mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-27 23:27:27 +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:
|
except:
|
||||||
return err("failed to mount waku peer-exchange protocol: " & getCurrentExceptionMsg())
|
return err("failed to mount waku peer-exchange protocol: " & getCurrentExceptionMsg())
|
||||||
|
|
||||||
|
asyncSpawn runPeerExchangeDiscv5Loop(node.wakuPeerExchange)
|
||||||
|
|
||||||
if conf.peerExchangeNode != "":
|
if conf.peerExchangeNode != "":
|
||||||
try:
|
try:
|
||||||
setPeerExchangePeer(node, conf.peerExchangeNode)
|
setPeerExchangePeer(node, conf.peerExchangeNode)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user