diff --git a/pkg/crypto/keys/publickey.go b/pkg/crypto/keys/publickey.go index 840b87e34..5d1e5ce41 100644 --- a/pkg/crypto/keys/publickey.go +++ b/pkg/crypto/keys/publickey.go @@ -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 {