mirror of
https://github.com/logos-messaging/logos-messaging-go.git
synced 2026-01-03 14:33:09 +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