This commit is contained in:
jl777
2018-04-16 23:35:38 +03:00
parent 0b28810237
commit f78ecb0aba

View File

@@ -934,9 +934,9 @@ void static BitcoinMiner()
if ( Mining_start != 0 && time(NULL) < Mining_start+roundrobin_delay ) if ( Mining_start != 0 && time(NULL) < Mining_start+roundrobin_delay )
{ {
//printf("Round robin diff sleep %d\n",(int32_t)(Mining_start+roundrobin_delay-time(NULL))); //printf("Round robin diff sleep %d\n",(int32_t)(Mining_start+roundrobin_delay-time(NULL)));
int32_t nseconds = Mining_start+roundrobin_delay-time(NULL); //int32_t nseconds = Mining_start+roundrobin_delay-time(NULL);
if ( nseconds > 0 ) //if ( nseconds > 0 )
sleep(nseconds); // sleep(nseconds);
MilliSleep((rand() % 1700) + 1); MilliSleep((rand() % 1700) + 1);
} }
else if ( ASSETCHAINS_SYMBOL[0] != 0 ) else if ( ASSETCHAINS_SYMBOL[0] != 0 )