eth/filters : filter test fix

This commit is contained in:
ucwong 2023-11-20 18:27:16 +08:00
parent 1e36e2502f
commit 7ec4f9960e

View file

@ -353,7 +353,7 @@ func TestFilters(t *testing.T) {
}, },
{ {
f: sys.NewRangeFilter(int64(rpc.PendingBlockNumber), int64(rpc.LatestBlockNumber), nil, nil), f: sys.NewRangeFilter(int64(rpc.PendingBlockNumber), int64(rpc.LatestBlockNumber), nil, nil),
err: "invalid block range", err: errInvalidBlockRange.Error(),
}, },
} { } {
logs, err := tc.f.Logs(context.Background()) logs, err := tc.f.Logs(context.Background())