Skip to content

Commit

Permalink
whitepaper: fix tex
Browse files Browse the repository at this point in the history
  • Loading branch information
mimoo committed Jan 17, 2024
1 parent 639b6d3 commit 0b8e361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion whitepaper/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Stateful zkapps are similar, except that the second UTXO containing a hash of th

Users who want to use a stateful zkapp must create a transaction that spends the zkapp and produce a new zkapp as a new UTXO to `0xzkBitcoin` and a UTXO of the hashed verifier key and new state. The funds locked in the updated zkapp must match the following formula:

$$b_{\text{new}} = b_{\text{old}} + b_{\text{amount_in}} - b_{\text{amount_out}}$$
$$b_{\text{new}} = b_{\text{old}} + b_{\text{amount\_in}} - b_{\text{amount\_out}}$$

In other words, the new balance is the old balance plus anything that was deposited and minus anything that was withdrawn.

Expand Down

0 comments on commit 0b8e361

Please sign in to comment.