aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-04-24 10:50:54 +0200
committerRiccardo Spagni <ric@spagni.net>2017-04-24 10:50:54 +0200
commit999b0f399dd7c95ce1dc5caf67311396601d807f (patch)
tree72593fd4af2716ccff71254249fd0b8d9b170747 /src/wallet
parentMerge pull request #1984 (diff)
parentwallet2: fix removal of wrong txes from unconfirmed_payments (diff)
downloadmonero-999b0f399dd7c95ce1dc5caf67311396601d807f.tar.xz
Merge pull request #1989
7f4beaa4 wallet2: fix removal of wrong txes from unconfirmed_payments (moneromooo-monero)
Diffstat (limited to 'src/wallet')
-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 2e301b70a..93a155a8c 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -1461,7 +1461,7 @@ void wallet2::update_pool_state()
std::unordered_map<crypto::hash, wallet2::payment_details>::iterator uit = m_unconfirmed_payments.begin();
while (uit != m_unconfirmed_payments.end())
{
- const crypto::hash &txid = uit->first;
+ const crypto::hash &txid = uit->second.m_tx_hash;
bool found = false;
for (const auto &it2: res.tx_hashes)
{