forked from lthn/blockchain
wallet: WALLET_TRANSFER_DETAIL_FLAG_MINED_TRANSFER flag is now being set more correctly
This commit is contained in:
parent
3ccbaca823
commit
2ee199bcbc
1 changed files with 1 additions and 1 deletions
|
|
@ -390,7 +390,7 @@ void wallet2::process_new_transaction(const currency::transaction& tx, uint64_t
|
|||
if (coin_base_tx)
|
||||
{
|
||||
//last out in coinbase tx supposed to be change from coinstake
|
||||
if (!(i_in_outs == outs.size() - 1 && !is_derived_from_coinbase))
|
||||
if (!(o == tx.vout.size() - 1 && !is_derived_from_coinbase))
|
||||
{
|
||||
td.m_flags |= WALLET_TRANSFER_DETAIL_FLAG_MINED_TRANSFER;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue