tx_pool: fix use of invalidated iterator

release-v0.4.0.1
moneromooo-monero 9 years ago
parent 3b1d7e03fc
commit eadbdf354a
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

@ -315,7 +315,8 @@ namespace cryptonote
{
m_txs_by_fee.erase(sorted_it);
}
m_transactions.erase(it++);
auto pit = it++;
m_transactions.erase(pit);
}else
++it;
}

Loading…
Cancel
Save