good morning!!!!

Skip to content
Snippets Groups Projects
Commit 4b5e5926 authored by Taylor Gerring's avatar Taylor Gerring
Browse files

inline AllLogs

parent 0bda63eb
No related branches found
No related tags found
No related merge requests found
......@@ -98,13 +98,6 @@ func (self *EthereumApi) getStateWithNum(num int64) *xeth.State {
// return nil
// }
func (self *EthereumApi) AllLogs(args *FilterOptions, reply *interface{}) error {
opts := toFilterOptions(args)
*reply = NewLogsRes(self.xeth().AllLogs(opts))
return nil
}
func (p *EthereumApi) Transact(args *NewTxArgs, reply *interface{}) (err error) {
// TODO if no_private_key then
//if _, exists := p.register[args.From]; exists {
......@@ -494,7 +487,8 @@ func (p *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) error
if err := json.Unmarshal(req.Params, &args); err != nil {
return err
}
return p.AllLogs(args, reply)
opts := toFilterOptions(args)
*reply = NewLogsRes(p.xeth().AllLogs(opts))
case "eth_getWork", "eth_submitWork":
return NewNotImplementedError(req.Method)
case "db_putString":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment