This commit is contained in:
jl777
2019-01-13 07:16:34 -11:00
parent 6c9d66ed0d
commit db879566f5
2 changed files with 6 additions and 6 deletions

View File

@@ -1494,7 +1494,7 @@ void static BitcoinMiner()
#ifdef ENABLE_WALLET
// notaries always default to staking
CBlockTemplate *ptr = CreateNewBlockWithKey(reservekey, pindexPrev->GetHeight()+1, gpucount, ASSETCHAINS_STAKED != 0 && GetArg("-genproclimit", -1) == 0);
CBlockTemplate *ptr = CreateNewBlockWithKey(reservekey, pindexPrev->GetHeight()+1, gpucount, ASSETCHAINS_STAKED != 0 && KOMODO_MININGTHREADS == 0);
#else
CBlockTemplate *ptr = CreateNewBlockWithKey();
#endif
@@ -1502,7 +1502,7 @@ void static BitcoinMiner()
{
static uint32_t counter;
if ( counter++ < 100 && ASSETCHAINS_STAKED == 0 )
fprintf(stderr,"created illegal block, retry\n");
fprintf(stderr,"created illegal blockB, retry\n");
sleep(1);
continue;
}