Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/zkapps/o1js/recursion.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ To verify this proof from within any method of your `SmartContract` class:

```typescript
@method async foo(proof: SimpleProgram.Proof) {
proof.verify().assertTrue();
proof.verify();
const output: Field = proof.value;
// ...the rest of our method.
// For example, storing the output of the execution of the program we've
Expand Down Expand Up @@ -148,7 +148,7 @@ Finally, verify the proof from within a SmartContract like the earlier example:

```typescript
@method async foo(proof: Proof) {
proof.verify().assertTrue();
proof.verify();
/* ... the rest of our method
* For example using the total value as the fee for some other transaction. */
}
Expand Down