1
0
Fork 0
mirror of synced 2025-09-23 12:18:44 +00:00

Merge pull request #226 from asifmallik/patch-1

Insert missing fi at the end of if statement
This commit is contained in:
Thibaut Schaeffer 2019-01-21 13:04:15 +01:00 committed by GitHub
commit a8379b1875
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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).