From aaeca3805e525ea8e7732b973aa0fc4917f4d48d Mon Sep 17 00:00:00 2001 From: leopardracer <136604165+leopardracer@users.noreply.github.com> Date: Wed, 27 Nov 2024 19:17:46 +0200 Subject: [PATCH] Update filter.md --- docs/api/filter.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/filter.md b/docs/api/filter.md index 01d5ba8b..ae706be5 100644 --- a/docs/api/filter.md +++ b/docs/api/filter.md @@ -32,7 +32,7 @@ if err := wakuNode.Start(context.Background()); err != nil { ### Options One of these options must be specified when instantiating a node supporting the waku relay protocol -- `WitWakuFilter(isFullNode, opts ...pubsub.Option)` - enables the waku filter protocol and receives an optional list of options to configure the protocol +- `WithWakuFilter(isFullNode, opts ...pubsub.Option)` - enables the waku filter protocol and receives an optional list of options to configure the protocol ## Adding a peer and receiving messages ```go