fix(did): finish the GenerateECDSAWithCurve function
This commit is contained in:
@@ -79,11 +79,9 @@ func GenerateECDSAWithCurve(code multicodec.Code) (crypto.PrivKey, DID, error) {
|
||||
return nil, Undef, err
|
||||
}
|
||||
|
||||
_ = priv
|
||||
_ = pub
|
||||
|
||||
return nil, Undef, nil // TODO
|
||||
did, err := FromPubKey(pub)
|
||||
|
||||
return priv, did, err
|
||||
}
|
||||
|
||||
// FromPrivKey is a convenience function that returns the DID associated
|
||||
|
||||
Reference in New Issue
Block a user