diff --git a/src/init.cpp b/src/init.cpp index a91418cd5a..df199ae487 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1248,6 +1248,11 @@ bool AppInit2(boost::thread_group& threadGroup) vImportFiles.push_back(strFile); } threadGroup.create_thread(boost::bind(&ThreadImport, vImportFiles)); + if (chainActive.Tip() == NULL) { + LogPrintf("Waiting for genesis block to be imported...\n"); + while (!fRequestShutdown && chainActive.Tip() == NULL) + MilliSleep(10); + } // ********************************************************* Step 10: start node