From 89f648a94e8c4cfe0784c33e030e1de479be45c5 Mon Sep 17 00:00:00 2001 From: Steve Moyer Date: Thu, 24 Oct 2024 13:44:32 -0400 Subject: [PATCH] docs(did): re-fix typo RE coercion of secp256k1 public keys --- did/crypto.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/did/crypto.go b/did/crypto.go index 87e561f..d0065a7 100644 --- a/did/crypto.go +++ b/did/crypto.go @@ -204,8 +204,8 @@ func codeForCurve(pubKey crypto.PubKey) (multicodec.Code, error) { // package treats it as a different type and has a different format for // the raw bytes of the public key. // -// If a valid ECDSA public key was created the secp256k1.S256 curve, this -// function will "convert" it from a crypto.ECDSAPubKey to a +// If a valid ECDSA public key was created using the secp256k1.S256 curve, +// this function will "convert" it from a crypto.ECDSAPubKey to a // crypto.Secp256k1PublicKey. func coerceECDSAToSecp256k1(pubKey crypto.PubKey) (crypto.PubKey, error) { stdPub, err := crypto.PubKeyToStdKey(pubKey)