mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #1191
9f31e2d
wallet: do not announce pool txes as money spent/received (yet) (moneromooo-monero)
This commit is contained in:
commit
0589209eb4
1 changed files with 7 additions and 4 deletions
|
@ -583,11 +583,14 @@ void wallet2::process_new_transaction(const cryptonote::transaction& tx, const s
|
||||||
std::string(", expected ") + print_money(td.amount()));
|
std::string(", expected ") + print_money(td.amount()));
|
||||||
}
|
}
|
||||||
amount = td.amount();
|
amount = td.amount();
|
||||||
LOG_PRINT_L0("Spent money: " << print_money(amount) << ", with tx: " << txid());
|
|
||||||
tx_money_spent_in_ins += amount;
|
tx_money_spent_in_ins += amount;
|
||||||
set_spent(it->second, height);
|
if (!pool)
|
||||||
if (0 != m_callback)
|
{
|
||||||
m_callback->on_money_spent(height, tx, amount, tx);
|
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…
Reference in a new issue