Skip to content

Commit 462fbcd

Browse files
committed
Merge #17325: log: Fix log message for -par=1
8a0ca5e log: Fix log message for -par=1 (Hennadii Stepanov) Pull request description: Fix #17139 ACKs for top commit: jnewbery: Tested ACK 8a0ca5e laanwj: ACK 8a0ca5e Tree-SHA512: 09f5416c00cd3e4f85cd9040267dc825d5c5623f8903e9d2373013686dce7f6b3ba573648787adc1d58e6f1d5012e26c78700d585273d4b508cb25312b3fa06b
2 parents 222b7d0 + 8a0ca5e commit 462fbcd

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)