fixed field ordering to allow GCC to compile; removed unlock_time field from CARROT/SPARC TX outputs

This commit is contained in:
Some Random Crypto Guy
2025-05-19 11:13:01 +01:00
parent e3e35f6dde
commit 60b3f22376
5 changed files with 5 additions and 8 deletions
+1 -1
View File
@@ -457,7 +457,7 @@ void get_output_proposal_return_v1(const CarrotPaymentProposalV1 &proposal,
output_enote_out.enote.anchor_enc = encrypt_carrot_anchor(proposal.randomness, s_sender_receiver, output_enote_out.enote.onetime_address);
// Recalculate the pid_enc = pid XOR m_pid
encrypted_payment_id_out =encrypt_legacy_payment_id(proposal.destination.payment_id, s_sender_receiver, output_enote_out.enote.onetime_address);
encrypted_payment_id_out = encrypt_legacy_payment_id(proposal.destination.payment_id, s_sender_receiver, output_enote_out.enote.onetime_address);
// 6. save the amount and first key image
output_enote_out.amount = proposal.amount;