RPC command getmininginfo showing right genproclimit

This commit is contained in:
Isidoro Ghezzi 2014-03-21 22:54:22 +01:00
parent 0a3acf260a
commit f61287c9b1

View File

@ -204,6 +204,7 @@ Value setgenerate(const Array& params, bool fHelp)
else // Not -regtest: start generate thread, return immediately else // Not -regtest: start generate thread, return immediately
{ {
mapArgs["-gen"] = (fGenerate ? "1" : "0"); mapArgs["-gen"] = (fGenerate ? "1" : "0");
mapArgs ["-genproclimit"] = itostr(nGenProcLimit);
GenerateBitcoins(fGenerate, pwalletMain, nGenProcLimit); GenerateBitcoins(fGenerate, pwalletMain, nGenProcLimit);
} }