Browse Source

test

release/v0.1
jl777 8 years ago
parent
commit
c81d841418
  1. 4
      iguana/iguana777.c

4
iguana/iguana777.c

@ -705,10 +705,10 @@ void iguana_coinloop(void *arg)
flag = 0; flag = 0;
for (i=0; i<n; i++) for (i=0; i<n; i++)
{ {
if ( n > 1 && (rand() % (n*100)) > 100 )
continue;
if ( (coin= coins[i]) != 0 ) if ( (coin= coins[i]) != 0 )
{ {
if ( n > 1 && coin->RTheight > 0 && (rand() % 10) != 0 )
continue;
if ( coin->peers == 0 ) if ( coin->peers == 0 )
{ {
printf("FATAL lack of peers struct\n"); printf("FATAL lack of peers struct\n");

Loading…
Cancel
Save