Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Lodek committed Jun 13, 2024
1 parent 04cc0b7 commit 547e194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acp/identity/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type didProducer func(crypto.KeyType, []byte) (*key.DIDKey, error)
// getDefaultDIDProducer returns the package default didProducer
func getDefaultDIDProducer() didProducer { return key.CreateDIDKey }

// generateDID receives a public key, a didProduce function and returns a did:key string or an error
// generateDID receives a public key, a didProducer function and returns a did:key string or an error
func generateDID(pubKey *secp256k1.PublicKey, producer didProducer) (string, error) {
keyType := "secp256k1"
bytes := pubKey.SerializeUncompressed()
Expand Down

0 comments on commit 547e194

Please sign in to comment.