diff options
author | Chun Kuan Lee <ken2812221@gmail.com> | 2018-10-14 04:24:38 +0800 |
---|---|---|
committer | Chun Kuan Lee <ken2812221@gmail.com> | 2018-10-15 10:32:43 +0800 |
commit | b7df96f4565064bcb7cbbf7e2507e03bdcf339f0 (patch) | |
tree | 9b5a326402b2de1c2f9a9bb36f6ec4756d35fd9c /src/validation.cpp | |
parent | be992701b018f256db6d64786624be4cb60d8975 (diff) |
refactor: Drop boost::this_thread::interruption_point and boost::thread_interrupted in main thread
Diffstat (limited to 'src/validation.cpp')
-rw-r--r-- | src/validation.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/validation.cpp b/src/validation.cpp index 458458d85d..36b89365e4 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -3819,8 +3819,6 @@ bool CChainState::LoadBlockIndex(const Consensus::Params& consensus_params, CBlo if (!blocktree.LoadBlockIndexGuts(consensus_params, [this](const uint256& hash) EXCLUSIVE_LOCKS_REQUIRED(cs_main) { return this->InsertBlockIndex(hash); })) return false; - boost::this_thread::interruption_point(); - // Calculate nChainWork std::vector<std::pair<int, CBlockIndex*> > vSortedByHeight; vSortedByHeight.reserve(mapBlockIndex.size()); |