Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
dhaidashenko committed Jan 15, 2025
1 parent 82a8b93 commit 64c42e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/solana/logpoller/log_poller.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ func (lp *LogPoller) backfillFilters(ctx context.Context, filters []Filter, to i
}

func (lp *LogPoller) processBlocksRange(ctx context.Context, addresses []PublicKey, from, to int64) error {
// nolint:gosec
// G115: integer overflow conversion uint64 -> int64
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 64c42e7

Please sign in to comment.