diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-03-20 11:55:17 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-03-20 11:55:17 +0800 |
commit | 3cea7d87c1b9fadf19211fad2aece303b1677e27 (patch) | |
tree | 1375f8d1ec0aa7f945f60bf83a427549d7914be2 /rpc/args.go | |
parent | d791fe4975fa62618f854a86f1648d5fe7081b79 (diff) | |
download | go-tangerine-3cea7d87c1b9fadf19211fad2aece303b1677e27.tar go-tangerine-3cea7d87c1b9fadf19211fad2aece303b1677e27.tar.gz go-tangerine-3cea7d87c1b9fadf19211fad2aece303b1677e27.tar.bz2 go-tangerine-3cea7d87c1b9fadf19211fad2aece303b1677e27.tar.lz go-tangerine-3cea7d87c1b9fadf19211fad2aece303b1677e27.tar.xz go-tangerine-3cea7d87c1b9fadf19211fad2aece303b1677e27.tar.zst go-tangerine-3cea7d87c1b9fadf19211fad2aece303b1677e27.zip |
Rename FilterOptions to BlockFilterArgs
Diffstat (limited to 'rpc/args.go')
-rw-r--r-- | rpc/args.go | 4 |
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"` |