Skip to content

Commit

Permalink
fix: removed top-level await
Browse files Browse the repository at this point in the history
  • Loading branch information
sahinvardar committed Mar 21, 2024
1 parent 5aab725 commit e633e5e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ const N = BigInt(
);

const g = BigInt('0x2');
const k = BigInt('0x' + (await hashHexString(`${padHex(N)}${padHex(g)}`)));
// k = hashHexString(`${padHex(N)}${padHex(g)}`)
const k = BigInt('0x538282c4354742d7cbbde2359fcf67f9f5b3a6b08791e5011b43b8a5b66d9ee6');

export function padHex(bigInt: bigint): string {
const HEX_MSB_REGEX = /^[89a-f]/i;
Expand Down

0 comments on commit e633e5e

Please sign in to comment.