Skip to content

Commit

Permalink
Cleanup: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dwasse committed Oct 24, 2024
1 parent 88fcf4f commit 873659e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion services/rfq/guard/service/guard.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down
1 change: 1 addition & 0 deletions services/rfq/guard/service/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 873659e

Please sign in to comment.