From fe819f3b9f7a2d8d842c53b7269ccceace533569 Mon Sep 17 00:00:00 2001 From: Taylor Gerring Date: Tue, 17 Mar 2015 09:11:01 -0400 Subject: Comment out whisper remove identity stubs --- whisper/whisper.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'whisper') 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{ -- cgit