mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-14 07:03:29 +01:00
Fix issue #706
This commit is contained in:
parent
e05278cef5
commit
9b3e43c327
@ -2798,6 +2798,7 @@ void Blockchain::check_against_checkpoints(const checkpoints& points, bool enfor
|
|||||||
{
|
{
|
||||||
const auto& pts = points.get_points();
|
const auto& pts = points.get_points();
|
||||||
|
|
||||||
|
CRITICAL_REGION_LOCAL(m_blockchain_lock);
|
||||||
m_db->batch_start();
|
m_db->batch_start();
|
||||||
for (const auto& pt : pts)
|
for (const auto& pt : pts)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user