Skip to content

Commit

Permalink
fix bad merge
Browse files Browse the repository at this point in the history
  • Loading branch information
sirasistant committed Sep 27, 2024
1 parent 1f7bb57 commit b7326d2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ export class UltraHonkBackend implements Backend, VerifierBackend {
proofData: ProofData,
numOfPublicInputs: number,
): Promise<{ proofAsFields: string[]; vkAsFields: string[]; vkHash: string }> {
const proof = reconstructProofWithPublicInputsHonk(proofData);
const flattenedPublicInputs = flattenFieldsAsArray(proofData.publicInputs);
const proof = reconstructHonkProof(flattenedPublicInputs, proofData.proof);
return this.backend.generateRecursiveProofArtifacts(proof, numOfPublicInputs);
}

Expand Down

0 comments on commit b7326d2

Please sign in to comment.