Merge pull request #3931

f61287c RPC command getmininginfo showing right genproclimit (Isidoro Ghezzi)
This commit is contained in:
Wladimir J. van der Laan 2014-04-01 18:10:18 +02:00
commit 397521d632
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6

View File

@ -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);
}