From 1de77b746ad0403e56745d023f57775b7f8885b5 Mon Sep 17 00:00:00 2001 From: benesjan Date: Tue, 30 Jul 2024 09:31:36 +0000 Subject: [PATCH] comment --- .../contracts/token_with_refunds_contract/src/main.nr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noir-projects/noir-contracts/contracts/token_with_refunds_contract/src/main.nr b/noir-projects/noir-contracts/contracts/token_with_refunds_contract/src/main.nr index 350c960ae060..d6f3d83f2646 100644 --- a/noir-projects/noir-contracts/contracts/token_with_refunds_contract/src/main.nr +++ b/noir-projects/noir-contracts/contracts/token_with_refunds_contract/src/main.nr @@ -487,7 +487,7 @@ contract TokenWithRefunds { let tx_fee = context.transaction_fee(); // 2. We check that user funded the fee payer contract with at least the tx fee. - assert(!funded_amount.lt(tx_fee), "tx fee is higher than funded amount"); + assert(!funded_amount.lt(tx_fee), "tx fee is higher than funded amount"); // funded_amout >= tx_fee // 3. We complete the refund and get the note hashes. let (fee_payer_note_hash, user_note_hash) = TokenNote::complete_refund(fee_payer_point, user_point, funded_amount, tx_fee);