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:
parent
3004dbc684
commit
ea45baa457
1 changed files with 2 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue