Skip to content

Commit 4306671

Browse files
committed
removed unnecessary +1 in ptauId calculation
1 parent 36d7237 commit 4306671

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/setup/SetupProcessor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ export class SetupProcessor {
229229

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

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

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

0 commit comments

Comments
 (0)