Skip to content

Commit c937d7d

Browse files
committed
remove unneeded check
1 parent f4f091b commit c937d7d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

yarn-project/bb-prover/src/prover/proof_utils.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,6 @@ export async function readProofAsFields<PROOF_LENGTH extends number>(
8484
logger.debug(
8585
`Circuit path: ${filePath}, complete proof length: ${fieldsWithoutPublicInputs.length}, num public inputs: ${numPublicInputs}, circuit size: ${vkData.circuitSize}`,
8686
);
87-
assert(
88-
fieldsWithoutPublicInputs.length == numPublicInputs + proofLength,
89-
`Proof length mismatch: ${fieldsWithoutPublicInputs.length} != ${numPublicInputs + proofLength}`,
90-
);
9187
return new RecursiveProof(
9288
fieldsWithoutPublicInputs,
9389
new Proof(binaryProofWithPublicInputs, numPublicInputs),

0 commit comments

Comments
 (0)