aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/args.go
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-03-20 11:55:17 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-03-20 11:55:17 +0800
commit3cea7d87c1b9fadf19211fad2aece303b1677e27 (patch)
tree1375f8d1ec0aa7f945f60bf83a427549d7914be2 /rpc/args.go
parentd791fe4975fa62618f854a86f1648d5fe7081b79 (diff)
downloaddexon-3cea7d87c1b9fadf19211fad2aece303b1677e27.tar
dexon-3cea7d87c1b9fadf19211fad2aece303b1677e27.tar.gz
dexon-3cea7d87c1b9fadf19211fad2aece303b1677e27.tar.bz2
dexon-3cea7d87c1b9fadf19211fad2aece303b1677e27.tar.lz
dexon-3cea7d87c1b9fadf19211fad2aece303b1677e27.tar.xz
dexon-3cea7d87c1b9fadf19211fad2aece303b1677e27.tar.zst
dexon-3cea7d87c1b9fadf19211fad2aece303b1677e27.zip
Rename FilterOptions to BlockFilterArgs
Diffstat (limited to 'rpc/args.go')
-rw-r--r--rpc/args.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpc/args.go b/rpc/args.go
index cbb199902..e50c9b1f5 100644
--- a/rpc/args.go
+++ b/rpc/args.go
@@ -433,7 +433,7 @@ func (args *Sha3Args) UnmarshalJSON(b []byte) (err error) {
return nil
}
-type FilterOptions struct {
+type BlockFilterArgs struct {
Earliest int64
Latest int64
Address interface{}
@@ -442,7 +442,7 @@ type FilterOptions struct {
Max int
}
-func (args *FilterOptions) UnmarshalJSON(b []byte) (err error) {
+func (args *BlockFilterArgs) UnmarshalJSON(b []byte) (err error) {
var obj []struct {
FromBlock interface{} `json:"fromBlock"`
ToBlock interface{} `json:"toBlock"`