diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-03-05 17:47:18 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-03-05 17:47:18 +0200 |
commit | a8619923598ee542e51be3821a3d40071cbfa1c5 (patch) | |
tree | 5b049859794a88c0dd004cc06a43fc9659236ee3 | |
parent | Merge pull request #1837 (diff) | |
parent | Revert "wallet: fix insertion of pool transactions" (diff) | |
download | monero-a8619923598ee542e51be3821a3d40071cbfa1c5.tar.xz |
Merge pull request #1839
c7dd0b15 Revert "wallet: fix insertion of pool transactions" (moneromooo-monero)
-rw-r--r-- | src/wallet/wallet2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 888c158c5..bc182e04b 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -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); } |