diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2014-01-29 13:49:15 -0800 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2014-01-29 13:49:15 -0800 |
commit | 3581abdd460b3ffc2ceb645bfd53797eedd629d5 (patch) | |
tree | 42443ed33e586be5fc096c50a9a71773fe1044a7 /src/init.cpp | |
parent | a7f3aedec3ce837c6932b1d2cf8e05ea3de93847 (diff) | |
parent | 75f51f2a63e0ebe34ab290c2b7141dd240b98c3b (diff) | |
download | bitcoin-3581abdd460b3ffc2ceb645bfd53797eedd629d5.tar.xz |
Merge pull request #3370 from sipa/headersfirst3
Prepare block connection logic for headers-first
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp index 7213477b22..8520d63c89 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -983,7 +983,7 @@ bool AppInit2(boost::thread_group& threadGroup) // scan for better chains in the block chain database, that are not yet connected in the active best chain CValidationState state; - if (!ConnectBestBlock(state)) + if (!ActivateBestChain(state)) strErrors << "Failed to connect best block"; std::vector<boost::filesystem::path> vImportFiles; |