Browse Source

Test

etomic
jl777 8 years ago
parent
commit
56da780709
  1. 4
      iguana/exchanges/LP_ordermatch.c

4
iguana/exchanges/LP_ordermatch.c

@ -462,13 +462,13 @@ char *LP_connectedalice(cJSON *argjson) // alice
printf("%s/%s bid %.8f ask %.8f\n",Q.srccoin,Q.destcoin,bid,ask);
//if ( (price= ask) == 0. )
price = bid;
if ( SATOSHIDEN*qprice > (SATOSHIDEN * price) * 1.001 + 10 )
/*if ( SATOSHIDEN*qprice > (SATOSHIDEN * price) * 1.001 + 10 )
{
printf("qprice %.8f too big vs %.8f\n",qprice,price);
LP_availableset(autxo);
LP_pendingswaps--;
return(clonestr("{\"error\":\"quote price too expensive\"}"));
}
}*/
if ( (coin= LP_coinfind(Q.destcoin)) == 0 )
{
LP_pendingswaps--;

Loading…
Cancel
Save