mirror of https://github.com/status-im/op-geth.git
inline UninstallWhisperFilter
This commit is contained in:
parent
1f9b93647b
commit
2ef2b9f2e0
|
@ -175,11 +175,6 @@ func (p *EthereumApi) GetStorageAt(args *GetStorageAtArgs, reply *interface{}) e
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p *EthereumApi) UninstallWhisperFilter(id int, reply *interface{}) error {
|
|
||||||
*reply = p.xeth().UninstallWhisperFilter(id)
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (self *EthereumApi) MessagesChanged(id int, reply *interface{}) error {
|
func (self *EthereumApi) MessagesChanged(id int, reply *interface{}) error {
|
||||||
*reply = self.xeth().MessagesChanged(id)
|
*reply = self.xeth().MessagesChanged(id)
|
||||||
return nil
|
return nil
|
||||||
|
@ -551,8 +546,7 @@ func (p *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) error
|
||||||
if err := json.Unmarshal(req.Params, &args); err != nil {
|
if err := json.Unmarshal(req.Params, &args); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
*reply = p.xeth().UninstallWhisperFilter(args.Id)
|
||||||
return p.UninstallWhisperFilter(args.Id, reply)
|
|
||||||
case "shh_getFilterChanges":
|
case "shh_getFilterChanges":
|
||||||
args := new(FilterIdArgs)
|
args := new(FilterIdArgs)
|
||||||
if err := json.Unmarshal(req.Params, &args); err != nil {
|
if err := json.Unmarshal(req.Params, &args); err != nil {
|
||||||
|
|
Loading…
Reference in New Issue