Skip to content

Commit 8a0ca5e

Browse files
hebastolaanwj
andcommitted
log: Fix log message for -par=1
Co-authored-by: Wladimir J. van der Laan <[email protected]>
1 parent 08e2947 commit 8a0ca5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/init.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1256,7 +1256,7 @@ bool AppInitMain(NodeContext& node)
12561256
InitSignatureCache();
12571257
InitScriptExecutionCache();
12581258

1259-
LogPrintf("Using %u threads for script verification\n", nScriptCheckThreads);
1259+
LogPrintf("Script verification uses %d additional threads\n", std::max(nScriptCheckThreads - 1, 0));
12601260
if (nScriptCheckThreads) {
12611261
for (int i=0; i<nScriptCheckThreads-1; i++)
12621262
threadGroup.create_thread([i]() { return ThreadScriptCheck(i); });

0 commit comments

Comments
 (0)