From fc79d38ad258e0c057fa2aa7008ecaaa764add6d Mon Sep 17 00:00:00 2001 From: Ekaterina Pavlova Date: Wed, 10 Apr 2024 18:34:13 +0300 Subject: [PATCH] crypto: adjust NewPublicKeyFromString's comment Signed-off-by: Ekaterina Pavlova --- pkg/crypto/keys/publickey.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {