crypto: adjust NewPublicKeyFromString's comment
Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
This commit is contained in:
parent
ae3515e819
commit
fc79d38ad2
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ func (p *PublicKey) Cmp(key *PublicKey) int {
|
|||
}
|
||||
|
||||
// NewPublicKeyFromString returns a public key created from the
|
||||
// given hex string.
|
||||
// given hex string public key representation in compressed form.
|
||||
func NewPublicKeyFromString(s string) (*PublicKey, error) {
|
||||
b, err := hex.DecodeString(s)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue