Browse Source

Test

pull/4/head
jl777 6 years ago
parent
commit
26810a265b
  1. 5
      src/miner.cpp

5
src/miner.cpp

@ -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

Loading…
Cancel
Save