From fec5c61dd2d191b264a3f7a3e63c0962edd49224 Mon Sep 17 00:00:00 2001 From: Kim De Mey Date: Mon, 23 Mar 2020 09:29:19 +0100 Subject: [PATCH] Fix Bloom Option after change in waku_protocol (#477) --- waku/wakunode.nim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/waku/wakunode.nim b/waku/wakunode.nim index e7d7aa0db..4029daacf 100644 --- a/waku/wakunode.nim +++ b/waku/wakunode.nim @@ -77,11 +77,14 @@ proc run(config: WakuNodeConf) = if not config.bootnodeOnly: node.addCapability Waku # Always enable Waku protocol var topicInterest: Option[seq[waku_protocol.Topic]] + var bloom: Option[Bloom] if config.wakuTopicInterest: var topics: seq[waku_protocol.Topic] topicInterest = some(topics) + else: + bloom = some(fullBloom()) let wakuConfig = WakuConfig(powRequirement: config.wakuPow, - bloom: fullBloom(), + bloom: bloom, isLightNode: config.lightNode, maxMsgSize: waku_protocol.defaultMaxMsgSize, topics: topicInterest)