Browse Source

Merge pull request #282 from jl777/dev

Test
win-cross
jl777 8 years ago
committed by GitHub
parent
commit
79c5da5606
  1. 4
      iguana/main.c

4
iguana/main.c

@ -752,9 +752,9 @@ void jumblr_loop(void *ptr)
while ( 1 ) while ( 1 )
{ {
t = (uint32_t)time(NULL); t = (uint32_t)time(NULL);
if ( (coin= iguana_coinfind("KMD")) != 0 && coin->FULLNODE < 0 && myinfo->jumblr_passphrase[0] != 0 && (t % 120) < 60 ) if ( (coin= iguana_coinfind("KMD")) != 0 && coin->FULLNODE < 0 && myinfo->jumblr_passphrase[0] != 0 && (t % 1200) < 60 )
{ {
jumblr_iteration(myinfo,coin,(t % 360) / 120,t % 120); jumblr_iteration(myinfo,coin,(t % 3600) / 1200,t % 1200);
} }
//printf("t.%u %p.%d %s\n",t,coin,coin!=0?coin->FULLNODE:0,myinfo->jumblr_passphrase); //printf("t.%u %p.%d %s\n",t,coin,coin!=0?coin->FULLNODE:0,myinfo->jumblr_passphrase);
sleep(20); sleep(20);

Loading…
Cancel
Save