Always log number of threads for script verification

Helps for troubleshooting.
This commit is contained in:
Wladimir J. van der Laan 2014-11-06 08:47:48 +01:00
parent d064f7f3ee
commit 9bdec76037
No known key found for this signature in database
GPG key ID: 74810B012346C9A6

View file

@ -746,8 +746,8 @@ bool AppInit2(boost::thread_group& threadGroup)
LogPrintf("Using at most %i connections (%i file descriptors available)\n", nMaxConnections, nFD);
std::ostringstream strErrors;
LogPrintf("Using %u threads for script verification\n", nScriptCheckThreads);
if (nScriptCheckThreads) {
LogPrintf("Using %u threads for script verification\n", nScriptCheckThreads);
for (int i=0; i<nScriptCheckThreads-1; i++)
threadGroup.create_thread(&ThreadScriptCheck);
}