aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2019-10-30 22:16:02 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2019-10-31 18:57:46 +0200
commit8a0ca5e9de021ce2f722b321f27208a7bc7110f7 (patch)
treea40476f55a6644621e470d575e68e0211c7d0d10
parent08e29473126d5cc4df6d2b3f368c6f6f641c0bd8 (diff)
log: Fix log message for -par=1
Co-authored-by: Wladimir J. van der Laan <laanwj@protonmail.com>
-rw-r--r--src/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 2a23f99b75..bbf26868c9 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -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); });