mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-23 13:47:47 +00:00
wallet: fix insertion of pool transactions
They were inserted using payment id as key, not txid
This commit is contained in:
parent
beee286c7b
commit
d47dac9a88
1 changed files with 1 additions and 1 deletions
|
@ -1044,7 +1044,7 @@ void wallet2::process_new_transaction(const cryptonote::transaction& tx, const s
|
|||
payment.m_unlock_time = tx.unlock_time;
|
||||
payment.m_timestamp = ts;
|
||||
if (pool) {
|
||||
m_unconfirmed_payments.emplace(payment_id, payment);
|
||||
m_unconfirmed_payments.emplace(txid(), payment);
|
||||
if (0 != m_callback)
|
||||
m_callback->on_unconfirmed_money_received(height, tx, payment.m_amount);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue