Skip to content

Commit

Permalink
Update noir-projects/noir-contracts/contracts/token_with_refunds_cont…
Browse files Browse the repository at this point in the history
…ract/src/test/basic.nr

Co-authored-by: esau <152162806+sklppy88@users.noreply.github.com>
  • Loading branch information
benesjan and sklppy88 authored Jul 30, 2024
1 parent d0a61f0 commit b3b5bcd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ unconstrained fn setup_refund_success() {
let fee_payer_balances_slot = derive_storage_slot_in_map(TokenWithRefunds::storage().balances.slot, fee_payer);
let owner_balances_slot = derive_storage_slot_in_map(TokenWithRefunds::storage().balances.slot, user);

// When the refund was set up, we would've spend the note worth mint_amount, and inserted a note worth
// When the refund was set up, we would've spent the note worth mint_amount, and inserted a note worth
//`mint_amount - funded_amount`. When completing the refund, we would've constructed a hash corresponding to a note
// worth `funded_amount - transaction_fee`. We "know" the transaction fee was 1 (it is hardcoded in TXE oracle)
// but we need to notify TXE of the note (preimage).
Expand Down

0 comments on commit b3b5bcd

Please sign in to comment.