aboutsummaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-03-20 08:10:05 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-03-20 08:10:05 +0800
commit0eb9572d642ee7fe5d730b6396f5c348c482e7d6 (patch)
tree4d24e983d9b1cd494a7f4eac47ee8edb80969cf3 /rpc
parent85e03217de038fc84f5161c81468ed7f218bd876 (diff)
downloadgo-tangerine-0eb9572d642ee7fe5d730b6396f5c348c482e7d6.tar
go-tangerine-0eb9572d642ee7fe5d730b6396f5c348c482e7d6.tar.gz
go-tangerine-0eb9572d642ee7fe5d730b6396f5c348c482e7d6.tar.bz2
go-tangerine-0eb9572d642ee7fe5d730b6396f5c348c482e7d6.tar.lz
go-tangerine-0eb9572d642ee7fe5d730b6396f5c348c482e7d6.tar.xz
go-tangerine-0eb9572d642ee7fe5d730b6396f5c348c482e7d6.tar.zst
go-tangerine-0eb9572d642ee7fe5d730b6396f5c348c482e7d6.zip
inline RemoveWhisperIdentity
Diffstat (limited to 'rpc')
-rw-r--r--rpc/api.go7
1 files changed, 1 insertions, 6 deletions
diff --git a/rpc/api.go b/rpc/api.go
index 0d67afca0..7ecde4c24 100644
--- a/rpc/api.go
+++ b/rpc/api.go
@@ -303,11 +303,6 @@ func (p *EthereumApi) GetStorageAt(args *GetStorageAtArgs, reply *interface{}) e
return nil
}
-// func (p *EthereumApi) RemoveWhisperIdentity(args *WhisperIdentityArgs, reply *interface{}) error {
-// *reply = p.xeth().Whisper().RemoveIdentity(args.Identity)
-// return nil
-// }
-
func (p *EthereumApi) NewWhisperFilter(args *WhisperFilterArgs, reply *interface{}) error {
var id int
opts := new(xeth.Options)
@@ -720,7 +715,7 @@ func (p *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) error
// if err := json.Unmarshal(req.Params, &args); err != nil {
// return err
// }
- // return p.RemoveWhisperIdentity(args, reply)
+ // *reply = p.xeth().Whisper().RemoveIdentity(args.Identity)
case "shh_hasIdentity":
args := new(WhisperIdentityArgs)
if err := json.Unmarshal(req.Params, &args); err != nil {