aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-03-05 17:47:18 +0200
committerRiccardo Spagni <ric@spagni.net>2017-03-05 17:47:18 +0200
commita8619923598ee542e51be3821a3d40071cbfa1c5 (patch)
tree5b049859794a88c0dd004cc06a43fc9659236ee3 /src/wallet/wallet2.cpp
parent4728ab977a87a17532276c5fdf872982b8e6afc2 (diff)
parentc7dd0b1535d155c6554d745526b003c2d2f45a41 (diff)
downloadmonzero-core-a8619923598ee542e51be3821a3d40071cbfa1c5.tar.gz
monzero-core-a8619923598ee542e51be3821a3d40071cbfa1c5.tar.xz
monzero-core-a8619923598ee542e51be3821a3d40071cbfa1c5.zip
Merge pull request #1839
c7dd0b15 Revert "wallet: fix insertion of pool transactions" (moneromooo-monero)
Diffstat (limited to 'src/wallet/wallet2.cpp')
-rw-r--r--src/wallet/wallet2.cpp2
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);
}