mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
Merge pull request #2374
e72e625e
tx_pool: wrap tx meta updates in a LockedTXN (moneromooo-monero)
This commit is contained in:
commit
c919ca4f1d
@ -863,6 +863,9 @@ namespace cryptonote
|
||||
std::unordered_set<crypto::key_image> k_images;
|
||||
|
||||
LOG_PRINT_L2("Filling block template, median size " << median_size << ", " << m_txs_by_fee_and_receive_time.size() << " txes in the pool");
|
||||
|
||||
LockedTXN lock(m_blockchain);
|
||||
|
||||
auto sorted_it = m_txs_by_fee_and_receive_time.begin();
|
||||
while (sorted_it != m_txs_by_fee_and_receive_time.end())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user