Skip to content

Commit 3581abd

Browse files
committed
Merge pull request #3370 from sipa/headersfirst3
Prepare block connection logic for headers-first
2 parents a7f3aed + 75f51f2 commit 3581abd

File tree

3 files changed

+284
-229
lines changed

3 files changed

+284
-229
lines changed

src/init.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -983,7 +983,7 @@ bool AppInit2(boost::thread_group& threadGroup)
983983

984984
// scan for better chains in the block chain database, that are not yet connected in the active best chain
985985
CValidationState state;
986-
if (!ConnectBestBlock(state))
986+
if (!ActivateBestChain(state))
987987
strErrors << "Failed to connect best block";
988988

989989
std::vector<boost::filesystem::path> vImportFiles;

0 commit comments

Comments
 (0)