From a88fac68c072497bfb4cbac5c490c0c79931d358 Mon Sep 17 00:00:00 2001 From: mllwchrry Date: Wed, 6 Nov 2024 20:31:04 +0200 Subject: [PATCH] removed Math.ceil in ptauId calculation --- src/core/setup/SetupProcessor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/setup/SetupProcessor.ts b/src/core/setup/SetupProcessor.ts index f8a3358..7c0cbb7 100644 --- a/src/core/setup/SetupProcessor.ts +++ b/src/core/setup/SetupProcessor.ts @@ -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[] = [];