make pre-carrot construction & carrot receiving work.
This commit is contained in:
@@ -289,6 +289,9 @@ bool try_load_carrot_enote_from_transaction_v1(const cryptonote::transaction &tx
|
||||
//K_o
|
||||
enote_out.onetime_address = c->key;
|
||||
|
||||
// asset_type
|
||||
enote_out.asset_type = c->asset_type;
|
||||
|
||||
//vt
|
||||
enote_out.view_tag = c->view_tag;
|
||||
|
||||
|
||||
@@ -109,7 +109,7 @@ static bool try_load_pre_carrot_enote(const bool is_coinbase,
|
||||
|
||||
enote_out.local_output_index = local_output_index;
|
||||
|
||||
enote_out.encrypted_amount = tx.version == 2 && !is_coinbase;
|
||||
enote_out.encrypted_amount = tx.version >= 2 && !is_coinbase;
|
||||
enote_out.short_amount = rct::is_rct_short_amount(tx.rct_signatures.type);
|
||||
|
||||
if (enote_out.encrypted_amount)
|
||||
|
||||
Reference in New Issue
Block a user