From 6812d0b22b1e1e9c8803962c09e089173fea65e6 Mon Sep 17 00:00:00 2001 From: Richard Ramos Date: Tue, 23 Nov 2021 08:31:37 -0400 Subject: [PATCH] fix: lint --- waku/v2/node/wakunode2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waku/v2/node/wakunode2.go b/waku/v2/node/wakunode2.go index d111737e..d5ba5462 100644 --- a/waku/v2/node/wakunode2.go +++ b/waku/v2/node/wakunode2.go @@ -433,8 +433,8 @@ func (w *WakuNode) startStore() { if w.opts.shouldResume { // TODO: extract this to a function and run it when you go offline // TODO: determine if a store is listening to a topic + w.wg.Add(1) go func() { - w.wg.Add(1) defer w.wg.Done() ticker := time.NewTicker(time.Second)