From f61287c9b15ff665761bf2aa71646fe55e90cbbc Mon Sep 17 00:00:00 2001 From: Isidoro Ghezzi Date: Fri, 21 Mar 2014 22:54:22 +0100 Subject: [PATCH] RPC command getmininginfo showing right genproclimit --- src/rpcmining.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rpcmining.cpp b/src/rpcmining.cpp index 564f0401f10..070cf1cb2a3 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); }