We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01ef1c7 commit c1015b9Copy full SHA for c1015b9
src/secp256k1-compat.ts
@@ -267,7 +267,7 @@ export function privateKeyTweakMul(
267
): Uint8Array {
268
assertBytes(privateKey, 32);
269
assertBytes(tweak, 32);
270
- let bn = bytesToNumber(tweak);
+ const bn = bytesToNumber(tweak);
271
if (bn <= 1 || bn >= ORDER) {
272
throw new Error("Tweak is zero or bigger than curve order");
273
}
0 commit comments