mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-27 08:07:22 +00:00
Typo
This commit is contained in:
parent
01a6db9324
commit
c96e504adb
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ func (self *Whisper) NewIdentity() string {
|
|||
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)))
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue