inline FilterChanged

This commit is contained in:
Taylor Gerring 2015-03-19 23:07:25 -04:00
parent 3e9632e256
commit d2e7414230
1 changed files with 1 additions and 6 deletions

View File

@ -98,11 +98,6 @@ func (self *EthereumApi) getStateWithNum(num int64) *xeth.State {
// return nil
// }
func (self *EthereumApi) FilterChanged(id int, reply *interface{}) error {
*reply = NewLogsRes(self.xeth().FilterChanged(id))
return nil
}
func (self *EthereumApi) Logs(id int, reply *interface{}) error {
*reply = NewLogsRes(self.xeth().Logs(id))
@ -493,7 +488,7 @@ func (p *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) error
if err := json.Unmarshal(req.Params, &args); err != nil {
return err
}
return p.FilterChanged(args.Id, reply)
*reply = NewLogsRes(p.xeth().FilterChanged(args.Id))
case "eth_getFilterLogs":
args := new(FilterIdArgs)
if err := json.Unmarshal(req.Params, &args); err != nil {