mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +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();
|
InitSignatureCache();
|
||||||
InitScriptExecutionCache();
|
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) {
|
if (nScriptCheckThreads) {
|
||||||
for (int i=0; i<nScriptCheckThreads-1; i++)
|
for (int i=0; i<nScriptCheckThreads-1; i++)
|
||||||
threadGroup.create_thread([i]() { return ThreadScriptCheck(i); });
|
threadGroup.create_thread([i]() { return ThreadScriptCheck(i); });
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue