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