mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
log: Fix log message for -par=1
Co-authored-by: Wladimir J. van der Laan <laanwj@protonmail.com>
This commit is contained in:
parent
08e2947312
commit
8a0ca5e9de
1 changed files with 1 additions and 1 deletions
|
|
@ -1256,7 +1256,7 @@ bool AppInitMain(NodeContext& node)
|
|||
InitSignatureCache();
|
||||
InitScriptExecutionCache();
|
||||
|
||||
LogPrintf("Using %u threads for script verification\n", nScriptCheckThreads);
|
||||
LogPrintf("Script verification uses %d additional threads\n", std::max(nScriptCheckThreads - 1, 0));
|
||||
if (nScriptCheckThreads) {
|
||||
for (int i=0; i<nScriptCheckThreads-1; i++)
|
||||
threadGroup.create_thread([i]() { return ThreadScriptCheck(i); });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue