From cbde471d9182ae3e5c424fa7d7c088c1e04b39a2 Mon Sep 17 00:00:00 2001 From: Some Random Crypto Guy Date: Thu, 12 Jun 2025 16:54:08 +0100 Subject: [PATCH] fixed GCC issue with fields initialised in wrong order --- src/carrot_impl/format_utils.cpp | 6 +++--- src/wallet/tx_builder.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/carrot_impl/format_utils.cpp b/src/carrot_impl/format_utils.cpp index 52f652ad3..5b8183360 100644 --- a/src/carrot_impl/format_utils.cpp +++ b/src/carrot_impl/format_utils.cpp @@ -226,9 +226,9 @@ cryptonote::transaction store_carrot_to_transaction_v1(const std::vector normal_payment_proposals_inout.push_back(carrot::CarrotPaymentProposalV1{ .destination = dest, .amount = tx_dest_entry.amount, + .asset_type = tx_dest_entry.asset_type, .randomness = carrot::gen_janus_anchor(), - .asset_type = tx_dest_entry.asset_type }); }