Update filter.md

This commit is contained in:
leopardracer 2024-11-27 19:17:46 +02:00 committed by GitHub
parent 68a6faaf5c
commit aaeca3805e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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