Skip to content

Commit

Permalink
removed Math.ceil in ptauId calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
mllwchrry committed Nov 6, 2024
1 parent 36d7237 commit a88fac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/setup/SetupProcessor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ export class SetupProcessor {

const maxConstraintsNumber = Math.max(...circuitsConstraintsNumber);

const ptauId = Math.max(Math.ceil(Math.log2(maxConstraintsNumber - 1)) + 1, 8);
const ptauId = Math.max(Math.log2(maxConstraintsNumber - 1) + 1, 8);

let entries: fsExtra.Dirent[] = [];

Expand Down

0 comments on commit a88fac6

Please sign in to comment.