This commit is contained in:
Howard Chu 2016-03-19 12:57:47 +00:00
parent e05278cef5
commit 9b3e43c327
1 changed files with 1 additions and 0 deletions

View File

@ -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)
{ {