Skip to content

Commit edb6cf1

Browse files
committed
remove no-longer-used InitError logic
1 parent 6e5e5ab commit edb6cf1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/init.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1067,7 +1067,6 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
10671067
LogPrintf("Using data directory %s\n", strDataDir);
10681068
LogPrintf("Using config file %s\n", GetConfigFile().string());
10691069
LogPrintf("Using at most %i connections (%i file descriptors available)\n", nMaxConnections, nFD);
1070-
std::ostringstream strErrors;
10711070

10721071
LogPrintf("Using %u threads for script verification\n", nScriptCheckThreads);
10731072
if (nScriptCheckThreads) {
@@ -1492,9 +1491,6 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
14921491

14931492
// ********************************************************* Step 11: start node
14941493

1495-
if (!strErrors.str().empty())
1496-
return InitError(strErrors.str());
1497-
14981494
//// debug print
14991495
LogPrintf("mapBlockIndex.size() = %u\n", mapBlockIndex.size());
15001496
LogPrintf("nBestHeight = %d\n", chainActive.Height());

0 commit comments

Comments
 (0)