Skip to content

Commit

Permalink
fix: typo on PrivateKey.fromBytes warning (#2264)
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo Seromenho <[email protected]>
  • Loading branch information
seromenho authored Apr 30, 2024
1 parent c49352a commit 7b38c8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cryptography/src/PrivateKey.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export default class PrivateKey extends Key {

if (data.length == 32) {
console.warn(
"WARNING: Consider using fromStringECDSA() or fromStringED2551() on a HEX-encoded string and fromStringDer() on a HEX-encoded string with DER prefix instead.",
"WARNING: Consider using fromStringECDSA() or fromStringED25519() on a HEX-encoded string and fromStringDer() on a HEX-encoded string with DER prefix instead.",
);
}

Expand Down

0 comments on commit 7b38c8a

Please sign in to comment.