aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api.go
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-03-20 11:13:52 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-03-20 11:13:52 +0800
commit2ef2b9f2e011d482a50456da91ad4b7a4be57841 (patch)
tree5b49fa955d7f147f2f04a9d71c858934dd1dfc90 /rpc/api.go
parent1f9b93647be5badfec854210b6c2b036d8c9aa6c (diff)
downloaddexon-2ef2b9f2e011d482a50456da91ad4b7a4be57841.tar
dexon-2ef2b9f2e011d482a50456da91ad4b7a4be57841.tar.gz
dexon-2ef2b9f2e011d482a50456da91ad4b7a4be57841.tar.bz2
dexon-2ef2b9f2e011d482a50456da91ad4b7a4be57841.tar.lz
dexon-2ef2b9f2e011d482a50456da91ad4b7a4be57841.tar.xz
dexon-2ef2b9f2e011d482a50456da91ad4b7a4be57841.tar.zst
dexon-2ef2b9f2e011d482a50456da91ad4b7a4be57841.zip
inline UninstallWhisperFilter
Diffstat (limited to 'rpc/api.go')
-rw-r--r--rpc/api.go8
1 files changed, 1 insertions, 7 deletions
diff --git a/rpc/api.go b/rpc/api.go
index 15a9f8b1f..1d4e737b5 100644
--- a/rpc/api.go
+++ b/rpc/api.go
@@ -175,11 +175,6 @@ func (p *EthereumApi) GetStorageAt(args *GetStorageAtArgs, reply *interface{}) e
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 {
*reply = self.xeth().MessagesChanged(id)
return nil
@@ -551,8 +546,7 @@ func (p *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) error
if err := json.Unmarshal(req.Params, &args); err != nil {
return err
}
-
- return p.UninstallWhisperFilter(args.Id, reply)
+ *reply = p.xeth().UninstallWhisperFilter(args.Id)
case "shh_getFilterChanges":
args := new(FilterIdArgs)
if err := json.Unmarshal(req.Params, &args); err != nil {