This commit is contained in:
Howard Chu 2016-03-19 12:57:47 +00:00
parent e05278cef5
commit 9b3e43c327

View file

@ -2798,6 +2798,7 @@ void Blockchain::check_against_checkpoints(const checkpoints& points, bool enfor
{
const auto& pts = points.get_points();
CRITICAL_REGION_LOCAL(m_blockchain_lock);
m_db->batch_start();
for (const auto& pt : pts)
{