From 5fd8a4c93350f2e9bf952497324346c686b8844d Mon Sep 17 00:00:00 2001 From: George Adams Date: Wed, 18 Dec 2024 12:16:58 +0000 Subject: [PATCH] Update deprecation comments for Ed25519 functions --- ed25519.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ed25519.go b/ed25519.go index 10dfb1a..f96db2c 100644 --- a/ed25519.go +++ b/ed25519.go @@ -108,7 +108,7 @@ func GenerateKeyEd25519() (*PrivateKeyEd25519, error) { return priv, nil } -// Deprecated: NewPrivateKeyEd25119 has been deprecated in favor of NewPrivateKeyEd25519. +// Deprecated: use NewPrivateKeyEd25519 instead. func NewPrivateKeyEd25119(priv []byte) (*PrivateKeyEd25519, error) { return NewPrivateKeyEd25519(priv) } @@ -120,7 +120,7 @@ func NewPrivateKeyEd25519(priv []byte) (*PrivateKeyEd25519, error) { return NewPrivateKeyEd25519FromSeed(priv[:seedSizeEd25519]) } -// Deprecated: NewPublicKeyEd25119 has been deprecated in favor of NewPublicKeyEd25519. +// Deprecated: use NewPublicKeyEd25519 instead. func NewPublicKeyEd25119(pub []byte) (*PublicKeyEd25519, error) { return NewPublicKeyEd25519(pub) }