fix(did): finish the GenerateECDSAWithCurve function

This commit is contained in:
Steve Moyer
2024-10-21 11:03:43 -04:00
parent 2bd177ce4d
commit 6011f0740a

View File

@@ -79,11 +79,9 @@ func GenerateECDSAWithCurve(code multicodec.Code) (crypto.PrivKey, DID, error) {
return nil, Undef, err return nil, Undef, err
} }
_ = priv did, err := FromPubKey(pub)
_ = pub
return nil, Undef, nil // TODO
return priv, did, err
} }
// FromPrivKey is a convenience function that returns the DID associated // FromPrivKey is a convenience function that returns the DID associated