From 853ec1869e950f6a0965debc6bb5cb41570a0615 Mon Sep 17 00:00:00 2001 From: Prem Chaitanya Prathi Date: Fri, 3 May 2024 13:40:20 +0530 Subject: [PATCH] fix: issue #2644 properly (#2663) --- waku/factory/internal_config.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waku/factory/internal_config.nim b/waku/factory/internal_config.nim index 973e396cc..32896ffd0 100644 --- a/waku/factory/internal_config.nim +++ b/waku/factory/internal_config.nim @@ -36,7 +36,7 @@ proc enrConfiguration*( let shardsRes = topicsToRelayShards(conf.pubsubTopics) if shardsRes.isOk() and shardsRes.get().isSome(): shardsLocal = shardsRes.get().get().shardIds - elif not shardsRes.get().isNone(): + elif shardsRes.get().isNone(): info "no pubsub topics specified or pubsubtopic is of type Named sharding " else: error "failed to parse pubsub topic, please format according to static shard specification",