Skip to content

Commit

Permalink
chore: update content parsing for filter
Browse files Browse the repository at this point in the history
  • Loading branch information
darshankabariya committed Jun 20, 2024
1 parent 94947a8 commit 9691dfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion waku/factory/node_factory.nim
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ proc setupProtocols(

peerExchangeHandler = some(handlePeerExchange)

if conf.relay:
if conf.relay or conf.filter:
let shards =
conf.contentTopics.mapIt(node.wakuSharding.getShard(it).expect("Valid Shard"))
let pubsubTopics = conf.pubsubTopics & shards
Expand Down

0 comments on commit 9691dfb

Please sign in to comment.