diff options
author | Isidoro Ghezzi <isidoro.ghezzi@icloud.com> | 2014-03-21 22:54:22 +0100 |
---|---|---|
committer | Isidoro Ghezzi <isidoro.ghezzi@icloud.com> | 2014-03-22 15:03:06 +0100 |
commit | f61287c9b15ff665761bf2aa71646fe55e90cbbc (patch) | |
tree | 3b47d999fc0639ceb44484160d6d85fda4834677 /src/rpcmining.cpp | |
parent | 0a3acf260a56cb21fa768c7b7a82efa2f1bdcbf6 (diff) |
RPC command getmininginfo showing right genproclimit
Diffstat (limited to 'src/rpcmining.cpp')
-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); } |