mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-27 03:33:27 -03:00
Merge pull request #3931
f61287c
RPC command getmininginfo showing right genproclimit (Isidoro Ghezzi)
This commit is contained in:
commit
397521d632
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue