From 06f843f340c92ff92dabb9c0d1e831f53057888b Mon Sep 17 00:00:00 2001 From: jm-clius Date: Tue, 20 Sep 2022 20:28:46 +0000 Subject: [PATCH] deploy: efe82eade2d7f8c4d5ee74080724364f20bca445 --- .../vendor/libbacktrace-upstream/libtool | 2 +- waku/v2/node/wakunode2.nim | 14 ++------------ 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/vendor/nim-libbacktrace/vendor/libbacktrace-upstream/libtool b/vendor/nim-libbacktrace/vendor/libbacktrace-upstream/libtool index 909d9db51..1c1797019 100755 --- a/vendor/nim-libbacktrace/vendor/libbacktrace-upstream/libtool +++ b/vendor/nim-libbacktrace/vendor/libbacktrace-upstream/libtool @@ -2,7 +2,7 @@ # libtool - Provide generalized library-building support services. # Generated automatically by config.status (libbacktrace) version-unused -# Libtool was configured on host fv-az133-625: +# Libtool was configured on host fv-az246-635: # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, diff --git a/waku/v2/node/wakunode2.nim b/waku/v2/node/wakunode2.nim index a07081499..00577bcb5 100644 --- a/waku/v2/node/wakunode2.nim +++ b/waku/v2/node/wakunode2.nim @@ -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