mirror of
https://github.com/monero-project/monero.git
synced 2026-07-28 14:47:15 -07:00
Blockchain: fix data race in get_dynamic_base_fee_estimate
This commit is contained in:
@@ -3654,6 +3654,7 @@ void Blockchain::get_dynamic_base_fee_estimate_2021_scaling(uint64_t base_reward
|
||||
|
||||
void Blockchain::get_dynamic_base_fee_estimate_2021_scaling(uint64_t grace_blocks, std::vector<uint64_t> &fees) const
|
||||
{
|
||||
CRITICAL_REGION_LOCAL(m_blockchain_lock);
|
||||
const uint8_t version = get_current_hard_fork_version();
|
||||
const uint64_t db_height = m_db->height();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user