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
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user