Skip to content

Commit

Permalink
remove await before _doCalculateWitness()
Browse files Browse the repository at this point in the history
  • Loading branch information
yushihang authored Sep 25, 2024
1 parent 20c18d9 commit 1e063c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ class WitnessCalculator {

const buff32 = new Uint32Array(this.witnessSize*this.n32+this.n32+11);
const buff = new Uint8Array( buff32.buffer);
await this._doCalculateWitness(input, sanityCheck);
this._doCalculateWitness(input, sanityCheck);

//"wtns"
buff[0] = "w".charCodeAt(0)
Expand Down

0 comments on commit 1e063c9

Please sign in to comment.