Skip to content

Commit 8284feb

Browse files
committed
Merge pull request #7117
a64d7b4 Print correct minimum mempool size in MB (paveljanik)
2 parents 93e0514 + a64d7b4 commit 8284feb

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
@@ -902,7 +902,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
902902
int64_t nMempoolSizeMax = GetArg("-maxmempool", DEFAULT_MAX_MEMPOOL_SIZE) * 1000000;
903903
int64_t nMempoolSizeMin = GetArg("-limitdescendantsize", DEFAULT_DESCENDANT_SIZE_LIMIT) * 1000 * 40;
904904
if (nMempoolSizeMax < 0 || nMempoolSizeMax < nMempoolSizeMin)
905-
return InitError(strprintf(_("-maxmempool must be at least %d MB"), std::ceil(nMempoolSizeMin / 1000.0)));
905+
return InitError(strprintf(_("-maxmempool must be at least %d MB"), std::ceil(nMempoolSizeMin / 1000000.0)));
906906

907907
// -par=0 means autodetect, but nScriptCheckThreads==0 means no concurrency
908908
nScriptCheckThreads = GetArg("-par", DEFAULT_SCRIPTCHECK_THREADS);

0 commit comments

Comments
 (0)