Skip to content

Commit

Permalink
Update link (#411)
Browse files Browse the repository at this point in the history
  • Loading branch information
andresuribe87 authored Jun 12, 2023
1 parent 9dfee15 commit 64df72c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/did/did.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func main() {
// GenerateDIDKey takes in a key type value that this library supports and constructs a conformant did:key identifier.
// To use the private key, it is recommended to re-cast to the associated type.
// The function returns the associated private key value cast to the generic golang crypto.PrivateKey interface.
// See more here: https://github.com/TBD54566975/ssi-sdk/blob/main/did/key.go#L51
// See more here: https://github.com/TBD54566975/ssi-sdk/blob/9dfee15a66a94572c0aa77d97780c09728592201/did/key/key.go#L96
_, didKey, err := key.GenerateDIDKey(crypto.SECP256k1)
if err != nil {
example.HandleExampleError(err, "failed to generate key")
Expand Down

0 comments on commit 64df72c

Please sign in to comment.