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.
This commit is contained in:
parent
9ed496bbc5
commit
7f4beaa44a
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue