Skip to content

Commit bff1f19

Browse files
committed
fix after merging other pr
1 parent 11b7460 commit bff1f19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/proof-system/recursive.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ function Recursive<
2626
...args: any
2727
) => Promise<{ publicOutput: InferProvable<PublicOutputType> }>;
2828
};
29+
maxProofsVerified: () => Promise<0 | 1 | 2>;
2930
} & {
3031
[Key in keyof PrivateInputs]: (...args: any) => Promise<{
3132
proof: Proof<
@@ -94,8 +95,7 @@ function Recursive<
9495
if (!condition.toBoolean()) {
9596
let publicOutput: PublicOutput =
9697
ProvableType.synthesize(publicOutputType);
97-
let maxProofsVerified: 0 | 1 | 2 =
98-
(await zkprogram.maxProofsVerified()) as any; // TODO
98+
let maxProofsVerified = await zkprogram.maxProofsVerified();
9999
return SelfProof.dummy(
100100
publicInput,
101101
publicOutput,

0 commit comments

Comments
 (0)