diff options
Diffstat (limited to 'whisper')
-rw-r--r-- | whisper/whisper.go | 16 |
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{ |