diff options
author | Howard Chu <hyc@symas.com> | 2016-03-19 12:57:47 +0000 |
---|---|---|
committer | Howard Chu <hyc@symas.com> | 2016-03-19 12:57:47 +0000 |
commit | 9b3e43c3270877f905efc375ddd6f2cf7f64f460 (patch) | |
tree | 1834b2cee495cd08410d732e2e78e3d53efc494d /src/cryptonote_core | |
parent | Merge pull request #730 (diff) | |
download | monero-9b3e43c3270877f905efc375ddd6f2cf7f64f460.tar.xz |
Fix issue #706
Diffstat (limited to 'src/cryptonote_core')
-rw-r--r-- | src/cryptonote_core/blockchain.cpp | 1 |
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) { |