From 873659e3957cff169a3d60a765aa6fa83d804fb2 Mon Sep 17 00:00:00 2001 From: Daniel Wasserman Date: Thu, 24 Oct 2024 13:39:17 -0700 Subject: [PATCH] Cleanup: lint --- services/rfq/guard/service/guard.go | 2 +- services/rfq/guard/service/handlers.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/services/rfq/guard/service/guard.go b/services/rfq/guard/service/guard.go index b538fd3dd3..3ab33aa3e7 100644 --- a/services/rfq/guard/service/guard.go +++ b/services/rfq/guard/service/guard.go @@ -292,7 +292,7 @@ func (g Guard) runChainIndexerV1(ctx context.Context, chainID int) (err error) { return nil } -//nolint:cyclop +//nolint:cyclop,gosec func (g Guard) runChainIndexerV2(ctx context.Context, chainID int) (err error) { chainListener := g.listenersV2[chainID] diff --git a/services/rfq/guard/service/handlers.go b/services/rfq/guard/service/handlers.go index 91aad32a81..3467bb2430 100644 --- a/services/rfq/guard/service/handlers.go +++ b/services/rfq/guard/service/handlers.go @@ -67,6 +67,7 @@ func (g *Guard) handleBridgeRequestedLog(parentCtx context.Context, req *fastbri return nil } +//nolint:gosec func (g *Guard) handleProofProvidedLog(parentCtx context.Context, event *fastbridge.FastBridgeBridgeProofProvided, chainID int) (err error) { ctx, span := g.metrics.Tracer().Start(parentCtx, "handleProofProvidedLog-guard", trace.WithAttributes( attribute.Int(metrics.Origin, chainID),