Skip to content

Commit

Permalink
Fix typo in Ed25519 generateKey() example
Browse files Browse the repository at this point in the history
Co-authored-by: nitro-neal <[email protected]>
  • Loading branch information
frankhinek and nitro-neal authored Jan 4, 2024
1 parent 329080e commit e853702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/crypto/src/primitives/ed25519.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ export class Ed25519 {
*
* @example
* ```ts
* const privateKey = await X25519.generateKey();
* const privateKey = await Ed25519.generateKey();
* ```
*
* @returns A Promise that resolves to the generated private key in JWK format.
Expand Down

0 comments on commit e853702

Please sign in to comment.