diff --git a/ctxc/filters/filter_test.go b/ctxc/filters/filter_test.go index e703ae616a..07da9ed492 100644 --- a/ctxc/filters/filter_test.go +++ b/ctxc/filters/filter_test.go @@ -88,6 +88,7 @@ func BenchmarkFilters(b *testing.B) { filter := sys.NewRangeFilter(0, -1, []common.Address{addr1, addr2, addr3, addr4}, nil) for i := 0; i < b.N; i++ { + filter.begin = 0 logs, _ := filter.Logs(context.Background()) if len(logs) != 4 { b.Fatal("expected 4 logs, got", len(logs))