This commit is contained in:
jl777
2018-05-08 18:03:43 +03:00
parent 99e3046307
commit 26810a265b

View File

@@ -986,8 +986,9 @@ void static BitcoinMiner()
{ {
if ( NOTARY_PUBKEY33[0] != 0 && notaryid >= 0 ) if ( NOTARY_PUBKEY33[0] != 0 && notaryid >= 0 )
{ {
if ( (i= ((Mining_height + notaryid) % 64) / 8) > 0 ) int32_t r;
MilliSleep((rand() % (i * 1000)) + 500); if ( (r= ((Mining_height + notaryid) % 64) / 8) > 0 )
MilliSleep((rand() % (r * 1000)) + 500);
} }
} }
else else