From b7df96f4565064bcb7cbbf7e2507e03bdcf339f0 Mon Sep 17 00:00:00 2001 From: Chun Kuan Lee Date: Sun, 14 Oct 2018 04:24:38 +0800 Subject: refactor: Drop boost::this_thread::interruption_point and boost::thread_interrupted in main thread --- src/validation.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/validation.cpp') diff --git a/src/validation.cpp b/src/validation.cpp index 458458d85..36b89365e 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 > vSortedByHeight; vSortedByHeight.reserve(mapBlockIndex.size()); -- cgit v1.2.3