Updated example code

This commit is contained in:
Fredrik Dahlgren
2023-03-17 17:33:05 +01:00
parent cd8c0935e7
commit 32c0d7d4fe

View File

@@ -824,8 +824,8 @@ For example, consider the following circuit that computes a users new balance
```jsx
template getNewBalance() {
signal currentBalance;
signal withdrawAmount;
signal input currentBalance;
signal input withdrawAmount;
signal output newBalance;
newBalance <== currentBalance - withdrawAmount;