mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-22 22:54:33 +00:00
Merge branch 'ethereum:master' into master
This commit is contained in:
commit
5ce403ab7d
1 changed files with 1 additions and 0 deletions
|
|
@ -99,6 +99,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))
|
||||
|
|
|
|||
Loading…
Reference in a new issue