diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-04-01 18:10:18 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-04-01 18:11:38 +0200 |
commit | 397521d632b4a49e61c8ea2246135f9cc00e57c4 (patch) | |
tree | 19e291ebb25fe61390fbfba9dcc8778443065891 | |
parent | e5681a4fa8ebd24f8e15e6a705429bd57624e729 (diff) | |
parent | f61287c9b15ff665761bf2aa71646fe55e90cbbc (diff) |
Merge pull request #3931
f61287c RPC command getmininginfo showing right genproclimit (Isidoro Ghezzi)
-rw-r--r-- | src/rpcmining.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpcmining.cpp b/src/rpcmining.cpp index 564f0401f1..070cf1cb2a 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); } |