fix: lint

This commit is contained in:
Richard Ramos 2021-11-23 08:31:37 -04:00
parent cb7bb2a6b6
commit 6812d0b22b
No known key found for this signature in database
GPG Key ID: 80D4B01265FDFE8F

View File

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