diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-04-17 19:37:13 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-04-17 19:37:13 +0100 |
commit | 7f4beaa44a9d784d061398923c5b859d5050f321 (patch) | |
tree | 53a78b52bab0d54e57b6e8ddc9479242423c6fab /src | |
parent | Merge pull request #1956 (diff) | |
download | monero-7f4beaa44a9d784d061398923c5b859d5050f321.tar.xz |
wallet2: fix removal of wrong txes from unconfirmed_payments
unconfirmed_payments changed from having the txid as key to
the payment id, and this was not changed to match.
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 941ee8afb..d4dfc5929 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -1453,7 +1453,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) { |