From 83b0cad76667c570a1be81653b531e6a9d513928 Mon Sep 17 00:00:00 2001 From: obscuren Date: Thu, 26 Mar 2015 12:34:59 +0100 Subject: [PATCH] fixed block filter args --- rpc/args.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpc/args.go b/rpc/args.go index 892e3f3e1..61331d993 100644 --- a/rpc/args.go +++ b/rpc/args.go @@ -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)) }