Browse Source

Test

etomic
jl777 8 years ago
parent
commit
700f42ee7e
  1. 2
      iguana/exchanges/LP_commands.c
  2. 2
      iguana/exchanges/LP_nativeDEX.c

2
iguana/exchanges/LP_commands.c

@ -172,7 +172,7 @@ cJSON *LP_bestprice(struct LP_utxoinfo *utxo,char *base)
}
if ( (prices[i]= price) != 0. && (bestprice == 0. || price < bestprice) )
bestprice = price;
printf("i.%d price %.8f bestprice %.8f: (%s)\n",i,price,bestprice,jprint(item,0));
//printf("i.%d price %.8f bestprice %.8f: (%s)\n",i,price,bestprice,jprint(item,0));
}
if ( bestprice != 0. )
{

2
iguana/exchanges/LP_nativeDEX.c

@ -980,7 +980,7 @@ void LP_mainloop(struct LP_peerinfo *mypeer,uint16_t mypubport,int32_t pubsock,i
nn_freemsg(ptr), ptr = 0;
}
if ( nonz == 0 )
sleep(1);
usleep(50000);
}
}
}

Loading…
Cancel
Save