This commit is contained in:
blackjok3r
2018-12-06 14:49:25 +08:00
parent 128a02eb9b
commit 4b45ea8d96

View File

@@ -344,7 +344,7 @@ UniValue setgenerate(const UniValue& params, bool fHelp)
{
VERUS_MINTBLOCKS = 1;
fGenerate = GetBoolArg("-gen", false);
if ( ASSETCHAINS_STAKED != 0 )
if ( ASSETCHAINS_STAKED == 0 )
nGenProcLimit = KOMODO_MININGTHREADS;
else
KOMODO_MININGTHREADS = nGenProcLimit;