Browse Source

RPC command getmininginfo showing right genproclimit

0.10
Isidoro Ghezzi 11 years ago
parent
commit
f61287c9b1
  1. 1
      src/rpcmining.cpp

1
src/rpcmining.cpp

@ -204,6 +204,7 @@ Value setgenerate(const Array& params, bool fHelp) @@ -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);
}

Loading…
Cancel
Save