aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/args.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-26 19:34:59 +0800
committerobscuren <geffobscura@gmail.com>2015-03-26 19:34:59 +0800
commit83b0cad76667c570a1be81653b531e6a9d513928 (patch)
treefba16db7855a1436f1f9a5625d45543021e6dc8a /rpc/args.go
parentb8a667deedcd2affcd4095547246c89f4a932af6 (diff)
downloadgo-tangerine-83b0cad76667c570a1be81653b531e6a9d513928.tar
go-tangerine-83b0cad76667c570a1be81653b531e6a9d513928.tar.gz
go-tangerine-83b0cad76667c570a1be81653b531e6a9d513928.tar.bz2
go-tangerine-83b0cad76667c570a1be81653b531e6a9d513928.tar.lz
go-tangerine-83b0cad76667c570a1be81653b531e6a9d513928.tar.xz
go-tangerine-83b0cad76667c570a1be81653b531e6a9d513928.tar.zst
go-tangerine-83b0cad76667c570a1be81653b531e6a9d513928.zip
fixed block filter args
Diffstat (limited to 'rpc/args.go')
-rw-r--r--rpc/args.go2
1 files changed, 1 insertions, 1 deletions
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))
}