From 7348a4ed5cb819c6615f3ec379cdfa89db056719 Mon Sep 17 00:00:00 2001 From: benesjan Date: Mon, 29 Jul 2024 10:13:23 +0000 Subject: [PATCH] fix after bad rebase --- .../contracts/token_with_refunds_contract/src/main.nr | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 df5ab316b491..9a943af45e79 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 @@ -205,9 +205,9 @@ contract TokenWithRefunds { let tx_fee = context.transaction_fee(); let (fee_payer_note_hiding_point, user_note_hiding_point) = TokenNote::complete_refund(fee_payer_point, user_point, tx_fee); - // 3. At last we emit the note hashes. - context.push_note_hash(fee_payer_slotted_note_hash); - context.push_note_hash(user_slotted_note_hash); + // 2. At last we emit the note hashes. + context.push_note_hash(fee_payer_note_hiding_point.x); + context.push_note_hash(user_note_hiding_point.x); // --> Once the tx is settled user and fee recipient can add the notes to their pixies. }