fixed GCC issue with fields initialised in wrong order
This commit is contained in:
@@ -226,9 +226,9 @@ cryptonote::transaction store_carrot_to_transaction_v1(const std::vector<CarrotE
|
||||
//L
|
||||
tx.vin.emplace_back(cryptonote::txin_to_key{ //@TODO: can save 2 bytes by using slim input type
|
||||
.amount = 0,
|
||||
.asset_type = "SAL1",
|
||||
.key_offsets = cryptonote::absolute_output_offsets_to_relative(key_offsets),
|
||||
.k_image = key_images.at(i),
|
||||
.asset_type = "SAL1"
|
||||
.k_image = key_images.at(i)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -238,9 +238,9 @@ cryptonote::transaction store_carrot_to_transaction_v1(const std::vector<CarrotE
|
||||
//K_o,vt,anchor_enc
|
||||
tx.vout.push_back(cryptonote::tx_out{0, cryptonote::txout_to_carrot_v1{
|
||||
.key = enote.onetime_address,
|
||||
.asset_type = enote.asset_type,
|
||||
.view_tag = enote.view_tag,
|
||||
.encrypted_janus_anchor = enote.anchor_enc,
|
||||
.asset_type = enote.asset_type,
|
||||
}});
|
||||
|
||||
//a_enc
|
||||
|
||||
Reference in New Issue
Block a user