This commit is contained in:
obscuren 2014-12-15 17:28:51 +01:00
parent 01a6db9324
commit c96e504adb

View File

@ -56,7 +56,7 @@ func (self *Whisper) NewIdentity() string {
return toHex(self.Whisper.NewIdentity().D.Bytes()) return toHex(self.Whisper.NewIdentity().D.Bytes())
} }
func (self *Whisper) HasIdentify(key string) bool { func (self *Whisper) HasIdentity(key string) bool {
return self.Whisper.HasIdentity(crypto.ToECDSA(fromHex(key))) return self.Whisper.HasIdentity(crypto.ToECDSA(fromHex(key)))
} }