Skip to content

Commit 8b1048a

Browse files
committed
doc: fix secp256k1 typos
1 parent 7166d99 commit 8b1048a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ Tx.create({ sign, getPrivateKey });
479479
* These may or may not be the default options, depending
480480
* on the library used.
481481
*
482-
* We recommend @dashincubator/secp246k1 and @noble/secp246k1.
482+
* We recommend @dashincubator/secp256k1 and @noble/secp256k1.
483483
*
484484
* @param {Uint8Array} privateKey - an input's corresponding key
485485
* @param {Uint8Array} txHashBytes - the (not reversed) 2x-sha256-hash

dashtx.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ var DashTx = ("object" === typeof module && exports) || {};
392392
}
393393
if (!hasEntropy) {
394394
let err = new Error(
395-
"secp265k1 implementation does not use signature entropy",
395+
"secp256k1 implementation does not use signature entropy",
396396
);
397397
Object.assign(err, { code: "E_NO_ENTROPY" });
398398
throw err;

0 commit comments

Comments
 (0)