Skip to content

Commit 496de0b

Browse files
committed
fix ci
1 parent 17be6c5 commit 496de0b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

eth/filters/filter.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ import (
2020
"context"
2121
"errors"
2222
"math"
23-
"math/big"
24-
"slices"
2523
"time"
2624

2725
"github.com/ethereum/go-ethereum/common"
@@ -410,7 +408,7 @@ func (f *Filter) rangeLogs(ctx context.Context, firstBlock, lastBlock uint64) ([
410408
func (f *Filter) indexedLogs(ctx context.Context, mb filtermaps.MatcherBackend, begin, end uint64) ([]*types.Log, error) {
411409
start := time.Now()
412410
potentialMatches, err := filtermaps.GetPotentialMatches(ctx, mb, begin, end, f.addresses, f.topics)
413-
matches := FilterLogs(potentialMatches, nil, nil, f.addresses, f.topics)
411+
matches := types.FilterLogs(potentialMatches, nil, nil, f.addresses, f.topics)
414412
log.Trace("Performed indexed log search", "begin", begin, "end", end, "true matches", len(matches), "false positives", len(potentialMatches)-len(matches), "elapsed", common.PrettyDuration(time.Since(start)))
415413
return matches, err
416414
}

0 commit comments

Comments
 (0)