diff --git a/waku/v2/protocol/filter/waku_filter.go b/waku/v2/protocol/filter/waku_filter.go index 095efc1c..001ff34b 100644 --- a/waku/v2/protocol/filter/waku_filter.go +++ b/waku/v2/protocol/filter/waku_filter.go @@ -188,7 +188,7 @@ func (wf *WakuFilter) FilterListener() { handle := func(envelope *protocol.Envelope) error { // async msg := envelope.Message() topic := envelope.PubsubTopic() - g, _ := errgroup.WithContext(context.Background()) + g := new(errgroup.Group) // Each subscriber is a light node that earlier on invoked // a FilterRequest on this node for subscriber := range wf.subscribers.Items() {