Merge pull request #1989
7f4beaa4
wallet2: fix removal of wrong txes from unconfirmed_payments (moneromooo-monero)
This commit is contained in:
commit
999b0f399d
|
@ -1461,7 +1461,7 @@ void wallet2::update_pool_state()
|
||||||
std::unordered_map<crypto::hash, wallet2::payment_details>::iterator uit = m_unconfirmed_payments.begin();
|
std::unordered_map<crypto::hash, wallet2::payment_details>::iterator uit = m_unconfirmed_payments.begin();
|
||||||
while (uit != m_unconfirmed_payments.end())
|
while (uit != m_unconfirmed_payments.end())
|
||||||
{
|
{
|
||||||
const crypto::hash &txid = uit->first;
|
const crypto::hash &txid = uit->second.m_tx_hash;
|
||||||
bool found = false;
|
bool found = false;
|
||||||
for (const auto &it2: res.tx_hashes)
|
for (const auto &it2: res.tx_hashes)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue