aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rpcmining.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpcmining.cpp b/src/rpcmining.cpp
index 564f0401f1..070cf1cb2a 100644
--- a/src/rpcmining.cpp
+++ b/src/rpcmining.cpp
@@ -204,6 +204,7 @@ Value setgenerate(const Array& params, bool fHelp)
else // Not -regtest: start generate thread, return immediately
{
mapArgs["-gen"] = (fGenerate ? "1" : "0");
+ mapArgs ["-genproclimit"] = itostr(nGenProcLimit);
GenerateBitcoins(fGenerate, pwalletMain, nGenProcLimit);
}