aboutsummaryrefslogtreecommitdiff
path: root/src
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
parentMerge pull request #1837 (diff)
parentRevert "wallet: fix insertion of pool transactions" (diff)
downloadmonero-a8619923598ee542e51be3821a3d40071cbfa1c5.tar.xz
Merge pull request #1839
c7dd0b15 Revert "wallet: fix insertion of pool transactions" (moneromooo-monero)
Diffstat (limited to 'src')
-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);
}