diff options
author | Jaquee <jaquee.monero@gmail.com> | 2017-03-03 15:48:32 +0100 |
---|---|---|
committer | Jaquee <jaquee.monero@gmail.com> | 2017-03-03 15:48:32 +0100 |
commit | 1cf2f5a5c243d27d385cc0783ba921b20c7a5c05 (patch) | |
tree | 25a7ddbe4ab23def26ea0c2870c9158e126110a6 /src | |
parent | Merge pull request #1827 (diff) | |
download | monero-1cf2f5a5c243d27d385cc0783ba921b20c7a5c05.tar.xz |
use txid in wallet2::process_new_transaction()
Diffstat (limited to 'src')
-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 3b987c7d6..888c158c5 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(txid, payment); if (0 != m_callback) m_callback->on_unconfirmed_money_received(height, txid, tx, payment.m_amount); } |