mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-04-24 18:42:23 +00:00
fixed block filter args
This commit is contained in:
parent
b8a667deed
commit
83b0cad766
1 changed files with 1 additions and 1 deletions
|
|
@ -482,7 +482,7 @@ func (args *BlockFilterArgs) UnmarshalJSON(b []byte) (err error) {
|
|||
return NewInsufficientParamsError(len(obj), 1)
|
||||
}
|
||||
|
||||
args.Earliest, err = toNumber(obj[0].FromBlock)
|
||||
args.Earliest, err = toNumber(obj[0].ToBlock)
|
||||
if err != nil {
|
||||
return NewDecodeParamError(fmt.Sprintf("FromBlock %v", err))
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue