wallet: do not announce pool txes as money spent/received (yet)

release-v0.4.0.1
moneromooo-monero 8 years ago
parent ea95b22009
commit 9f31e2d8c0
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

@ -583,11 +583,14 @@ void wallet2::process_new_transaction(const cryptonote::transaction& tx, const s
std::string(", expected ") + print_money(td.amount()));
}
amount = td.amount();
LOG_PRINT_L0("Spent money: " << print_money(amount) << ", with tx: " << txid());
tx_money_spent_in_ins += amount;
set_spent(it->second, height);
if (0 != m_callback)
m_callback->on_money_spent(height, tx, amount, tx);
if (!pool)
{
LOG_PRINT_L0("Spent money: " << print_money(amount) << ", with tx: " << txid());
set_spent(it->second, height);
if (0 != m_callback)
m_callback->on_money_spent(height, tx, amount, tx);
}
}
}

Loading…
Cancel
Save