Merge pull request #1839

c7dd0b15 Revert "wallet: fix insertion of pool transactions" (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2017-03-05 17:47:18 +02:00
commit a861992359
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

@ -1029,7 +1029,7 @@ void wallet2::process_new_transaction(const crypto::hash &txid, const cryptonote
payment.m_unlock_time = tx.unlock_time;
payment.m_timestamp = ts;
if (pool) {
m_unconfirmed_payments.emplace(txid, payment);
m_unconfirmed_payments.emplace(payment_id, payment);
if (0 != m_callback)
m_callback->on_unconfirmed_money_received(height, txid, tx, payment.m_amount);
}