mirror of
https://github.com/0xPARC/zk-bug-tracker.git
synced 2026-01-08 21:38:06 -05:00
Updated example code formatting
This commit is contained in:
@@ -824,11 +824,11 @@ For example, consider the following circuit that computes a user’s new balance
|
||||
|
||||
```jsx
|
||||
template getNewBalance() {
|
||||
signal currentBalance;
|
||||
signal withdrawAmount;
|
||||
signal output newBalance;
|
||||
signal currentBalance;
|
||||
signal withdrawAmount;
|
||||
signal output newBalance;
|
||||
|
||||
newBalance <== currentBalance - withdrawAmount;
|
||||
newBalance <== currentBalance - withdrawAmount;
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user