Skip to content

Commit

Permalink
doc: fix secp256k1 typos
Browse files Browse the repository at this point in the history
  • Loading branch information
coolaj86 committed Apr 19, 2024
1 parent 7166d99 commit 8b1048a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ Tx.create({ sign, getPrivateKey });
* These may or may not be the default options, depending
* on the library used.
*
* We recommend @dashincubator/secp246k1 and @noble/secp246k1.
* We recommend @dashincubator/secp256k1 and @noble/secp256k1.
*
* @param {Uint8Array} privateKey - an input's corresponding key
* @param {Uint8Array} txHashBytes - the (not reversed) 2x-sha256-hash
Expand Down
2 changes: 1 addition & 1 deletion dashtx.js
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ var DashTx = ("object" === typeof module && exports) || {};
}
if (!hasEntropy) {
let err = new Error(
"secp265k1 implementation does not use signature entropy",
"secp256k1 implementation does not use signature entropy",
);
Object.assign(err, { code: "E_NO_ENTROPY" });
throw err;
Expand Down

0 comments on commit 8b1048a

Please sign in to comment.