aboutsummaryrefslogtreecommitdiffstats
path: root/whisper
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-03-17 21:11:01 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-03-17 21:11:01 +0800
commitfe819f3b9f7a2d8d842c53b7269ccceace533569 (patch)
treef9e8d1214ea431cae5831b56653123e51d3307ee /whisper
parent176115e22ecc5e86179784ba5027c84e538423c4 (diff)
downloaddexon-fe819f3b9f7a2d8d842c53b7269ccceace533569.tar.gz
dexon-fe819f3b9f7a2d8d842c53b7269ccceace533569.tar.zst
dexon-fe819f3b9f7a2d8d842c53b7269ccceace533569.zip
Comment out whisper remove identity stubs
Diffstat (limited to 'whisper')
-rw-r--r--whisper/whisper.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/whisper/whisper.go b/whisper/whisper.go
index c80ba3c8e..908df973c 100644
--- a/whisper/whisper.go
+++ b/whisper/whisper.go
@@ -116,14 +116,14 @@ func (self *Whisper) GetIdentity(key *ecdsa.PublicKey) *ecdsa.PrivateKey {
return self.keys[string(crypto.FromECDSAPub(key))]
}
-func (self *Whisper) RemoveIdentity(key *ecdsa.PublicKey) bool {
- k := string(crypto.FromECDSAPub(key))
- if _, ok := self.keys[k]; ok {
- delete(self.keys, k)
- return true
- }
- return false
-}
+// func (self *Whisper) RemoveIdentity(key *ecdsa.PublicKey) bool {
+// k := string(crypto.FromECDSAPub(key))
+// if _, ok := self.keys[k]; ok {
+// delete(self.keys, k)
+// return true
+// }
+// return false
+// }
func (self *Whisper) Watch(opts Filter) int {
return self.filters.Install(filter.Generic{