aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/blockchain.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-03-19 15:27:02 +0200
committerRiccardo Spagni <ric@spagni.net>2016-03-19 15:27:02 +0200
commitd7fb03fc97794febeb29f1983e313e1b9d1d85e6 (patch)
tree908862cd20f33bcfdefe8f39047a3d8a9b2b433a /src/cryptonote_core/blockchain.cpp
parentMerge pull request #731 (diff)
parentReduce log noise (diff)
downloadmonero-d7fb03fc97794febeb29f1983e313e1b9d1d85e6.tar.xz
Merge pull request #732
db1b2db Reduce log noise (Howard Chu) 9b3e43c Fix issue #706 (Howard Chu)
Diffstat (limited to 'src/cryptonote_core/blockchain.cpp')
-rw-r--r--src/cryptonote_core/blockchain.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp
index f540697dc..8b7f298ee 100644
--- a/src/cryptonote_core/blockchain.cpp
+++ b/src/cryptonote_core/blockchain.cpp
@@ -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)
{