mirror of
https://github.com/status-im/go-waku.git
synced 2025-01-28 22:46:01 +00:00
Use new errgroup
This commit is contained in:
parent
38fc9ee8bb
commit
5353ae48f2
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user