forked from cerc-io/plugeth
Typo
This commit is contained in:
parent
01a6db9324
commit
c96e504adb
@ -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)))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user