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/api.go | |
parent | d791fe4975fa62618f854a86f1648d5fe7081b79 (diff) | |
download | dexon-3cea7d87c1b9fadf19211fad2aece303b1677e27.tar.gz dexon-3cea7d87c1b9fadf19211fad2aece303b1677e27.tar.zst dexon-3cea7d87c1b9fadf19211fad2aece303b1677e27.zip |
Rename FilterOptions to BlockFilterArgs
Diffstat (limited to 'rpc/api.go')
-rw-r--r-- | rpc/api.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rpc/api.go b/rpc/api.go index cef5e4689..9f0b88b48 100644 --- a/rpc/api.go +++ b/rpc/api.go @@ -406,7 +406,7 @@ func (p *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) error case "eth_compileSolidity", "eth_compileLLL", "eth_compileSerpent": return NewNotImplementedError(req.Method) case "eth_newFilter": - args := new(FilterOptions) + args := new(BlockFilterArgs) if err := json.Unmarshal(req.Params, &args); err != nil { return err } @@ -444,7 +444,7 @@ func (p *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) error } *reply = NewLogsRes(p.xeth().Logs(args.Id)) case "eth_getLogs": - args := new(FilterOptions) + args := new(BlockFilterArgs) if err := json.Unmarshal(req.Params, &args); err != nil { return err } @@ -561,7 +561,7 @@ func (p *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) error return nil } -func toFilterOptions(options *FilterOptions) *core.FilterOptions { +func toFilterOptions(options *BlockFilterArgs) *core.FilterOptions { var opts core.FilterOptions // Convert optional address slice/string to byte slice |