mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-24 08:49:29 +00:00
Merge 537672247d into d3edc58ef7
This commit is contained in:
commit
c3daa842c1
1 changed files with 1 additions and 1 deletions
|
|
@ -1433,7 +1433,7 @@ func (r *Resolver) Logs(ctx context.Context, args struct{ Filter FilterCriteria
|
|||
if args.Filter.ToBlock != nil {
|
||||
end = int64(*args.Filter.ToBlock)
|
||||
}
|
||||
if begin > 0 && end > 0 && begin > end {
|
||||
if begin >= 0 && end >= 0 && begin > end {
|
||||
return nil, errInvalidBlockRange
|
||||
}
|
||||
var addresses []common.Address
|
||||
|
|
|
|||
Loading…
Reference in a new issue