mirror of
https://github.com/monero-project/monero.git
synced 2024-11-18 10:01:02 +00:00
Merge pull request #1823
d47dac9a
wallet: fix insertion of pool transactions (moneromooo-monero)
This commit is contained in:
commit
2f9ecd4fba
1 changed files with 1 additions and 1 deletions
|
@ -1029,7 +1029,7 @@ void wallet2::process_new_transaction(const crypto::hash &txid, const cryptonote
|
||||||
payment.m_unlock_time = tx.unlock_time;
|
payment.m_unlock_time = tx.unlock_time;
|
||||||
payment.m_timestamp = ts;
|
payment.m_timestamp = ts;
|
||||||
if (pool) {
|
if (pool) {
|
||||||
m_unconfirmed_payments.emplace(payment_id, payment);
|
m_unconfirmed_payments.emplace(txid(), payment);
|
||||||
if (0 != m_callback)
|
if (0 != m_callback)
|
||||||
m_callback->on_unconfirmed_money_received(height, txid, tx, payment.m_amount);
|
m_callback->on_unconfirmed_money_received(height, txid, tx, payment.m_amount);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue