Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
dhaidashenko committed Feb 6, 2025
1 parent 2e217cd commit 39491b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/solana/logpoller/log_poller.go
Original file line number Diff line number Diff line change
Expand Up @@ -264,9 +264,9 @@ func (lp *Service) backfillFilters(ctx context.Context, filters []Filter, to int
}

func (lp *Service) processBlocksRange(ctx context.Context, addresses []PublicKey, from, to int64) error {
lp.lggr.Infow("Processing block range", "from", from, "to", to)
// nolint:gosec
// G115: integer overflow conversion uint64 -> int64
lp.lggr.Infow("Processing block range", "from", from, "to", to)
blocks, cleanup, err := lp.loader.BackfillForAddresses(ctx, addresses, uint64(from), uint64(to))
if err != nil {
return fmt.Errorf("error backfilling filters: %w", err)
Expand Down

0 comments on commit 39491b9

Please sign in to comment.