diff --git a/node/pkg/watchers/wormchain/watcher.go b/node/pkg/watchers/wormchain/watcher.go index 7d6e545e8..34a2d9d81 100644 --- a/node/pkg/watchers/wormchain/watcher.go +++ b/node/pkg/watchers/wormchain/watcher.go @@ -141,7 +141,7 @@ func (e *Watcher) Run(ctx context.Context) error { <-t.C // Query and report height and set currentWormchainHeight - resp, err := client.Get(fmt.Sprintf("%s/blocks/latest", e.urlLCD)) + resp, err := client.Get(fmt.Sprintf("%s/blocks/latest", e.urlLCD)) //nolint:noctx // TODO FIXME we should propagate context with Deadline here. if err != nil { logger.Error("query latest block response error", zap.Error(err)) continue @@ -188,7 +188,7 @@ func (e *Watcher) Run(ctx context.Context) error { } // Query for tx by hash - resp, err := client.Get(fmt.Sprintf("%s/cosmos/tx/v1beta1/txs/%s", e.urlLCD, tx)) + resp, err := client.Get(fmt.Sprintf("%s/cosmos/tx/v1beta1/txs/%s", e.urlLCD, tx)) //nolint:noctx // TODO FIXME we should propagate context with Deadline here. if err != nil { logger.Error("query tx response error", zap.Error(err)) continue