Merge pull request #226 from asifmallik/patch-1
Insert missing fi at the end of if statement
This commit is contained in:
commit
a8379b1875
1 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ First, create the text-file `root.code` and implement your program. In this exam
|
|||
|
||||
```zokrates
|
||||
def main(private field a, field b) -> (field):
|
||||
field result = if a * a == b then 1 else 0
|
||||
field result = if a * a == b then 1 else 0 fi
|
||||
return result
|
||||
```
|
||||
|
||||
|
@ -53,4 +53,4 @@ Then run the different phases of the protocol:
|
|||
./zokrates export-verifier
|
||||
```
|
||||
|
||||
The CLI commands are explained in more detail in the [CLI reference](reference/cli.html).
|
||||
The CLI commands are explained in more detail in the [CLI reference](reference/cli.html).
|
||||
|
|
Loading…
Reference in a new issue