This commit is contained in:
jl777
2018-06-30 01:26:23 -11:00
parent 94f9918f9d
commit 3a446d9f24

View File

@@ -1187,7 +1187,9 @@ void static BitcoinMiner()
delete minerThreads;
minerThreads = NULL;
}
fprintf(stderr,"nThreads.%d fGenerate.%d\n",(int32_t)nThreads,fGenerate);
if ( nThreads == 0 )
nThreads = 1;
if (nThreads == 0 || !fGenerate)
return;