1
0
Fork 0
forked from lthn/blockchain

fixed a bug in wallet2 where the explicit asset id was incorrectly set when it shouldn't have been

This commit is contained in:
sowle 2023-06-07 00:18:22 +02:00
parent 3004dbc684
commit ea45baa457
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC

View file

@ -2207,10 +2207,9 @@ namespace currency
}
if (src_entr.is_native_coin())
{
native_coins_input_sum += src_entr.amount;
}
else
if (src_entr.is_zc())
{
// if at least one decoy output of a ZC input has a non-explicit asset id, then we can't say that all inputs are obviously native coins
for(const tx_source_entry::output_entry& oe : in_context.outputs)