Browse Source

Test

etomic
jl777 8 years ago
parent
commit
9f7b951b50
  1. 4
      iguana/exchanges/LP_unspents.c

4
iguana/exchanges/LP_unspents.c

@ -234,11 +234,11 @@ void LPinit(uint16_t port,double profitmargin)
free(retstr); free(retstr);
for (i=0; i<sizeof(default_LPnodes)/sizeof(*default_LPnodes); i++) for (i=0; i<sizeof(default_LPnodes)/sizeof(*default_LPnodes); i++)
{ {
if ( (rand() % 100) > 20 ) if ( (rand() % 100) > 25 )
continue; continue;
if ( (retstr= issue_LP_intro(default_LPnodes[i],port,ipaddr,port,0.01)) != 0 ) if ( (retstr= issue_LP_intro(default_LPnodes[i],port,ipaddr,port,0.01)) != 0 )
{ {
//printf("(%s) -> %s\n",default_LPnodes[i],retstr); printf("(%s) -> %s\n",default_LPnodes[i],retstr);
free(retstr); free(retstr);
} }
} }

Loading…
Cancel
Save