mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-08 17:03:09 +00:00
deploy: a0174f4760fd400ce3f6d614c946fc7db36a29f7
This commit is contained in:
parent
ce2e29a132
commit
276e0e7560
@ -759,20 +759,10 @@ proc start*(node: WakuNode) {.async.} =
|
||||
## Update switch peer info with announced addrs
|
||||
node.updateSwitchPeerInfo()
|
||||
|
||||
# Start mounted protocols. For now we start each one explicitly
|
||||
# Perform relay-specific startup tasks TODO: this should be rethought
|
||||
if not node.wakuRelay.isNil:
|
||||
await node.startRelay()
|
||||
if not node.wakuStore.isNil:
|
||||
await node.wakuStore.start()
|
||||
if not node.wakuFilter.isNil:
|
||||
await node.wakuFilter.start()
|
||||
if not node.wakuLightPush.isNil:
|
||||
await node.wakuLightPush.start()
|
||||
if not node.wakuSwap.isNil:
|
||||
await node.wakuSwap.start()
|
||||
if not node.libp2pPing.isNil:
|
||||
await node.libp2pPing.start()
|
||||
|
||||
|
||||
await node.switch.start()
|
||||
node.started = true
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user