Test
This commit is contained in:
@@ -1464,7 +1464,12 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
|
|||||||
uiInterface.InitMessage(_("Activating best chain..."));
|
uiInterface.InitMessage(_("Activating best chain..."));
|
||||||
// scan for better chains in the block chain database, that are not yet connected in the active best chain
|
// scan for better chains in the block chain database, that are not yet connected in the active best chain
|
||||||
CValidationState state;
|
CValidationState state;
|
||||||
if (KOMODO_REWIND == 0 && !ActivateBestChain(state))
|
if ( KOMODO_REWIND < 0 )
|
||||||
|
{
|
||||||
|
KOMODO_REWIND = 0;
|
||||||
|
fprintf(stderr,"bypass ActivateBestChain\n");
|
||||||
|
}
|
||||||
|
else if ( !ActivateBestChain(state))
|
||||||
strErrors << "Failed to connect best block";
|
strErrors << "Failed to connect best block";
|
||||||
|
|
||||||
std::vector<boost::filesystem::path> vImportFiles;
|
std::vector<boost::filesystem::path> vImportFiles;
|
||||||
|
|||||||
Reference in New Issue
Block a user