From 8e389bbf15822c98898ce1700cebe4ea7ba948c0 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 25 Jul 2017 16:04:19 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_ordermatch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_ordermatch.c b/iguana/exchanges/LP_ordermatch.c index 383f46a1d..46b79b55a 100644 --- a/iguana/exchanges/LP_ordermatch.c +++ b/iguana/exchanges/LP_ordermatch.c @@ -591,7 +591,7 @@ struct LP_utxoinfo *LP_bestutxo(double *ordermatchpricep,int64_t *bestsatoshisp, { item = jitem(asks,i); price = jdouble(item,"price"); - if ( LP_pricevalid(price) > 0 && price*1.0001 <= maxprice ) + if ( LP_pricevalid(price) > 0 && price <= maxprice ) { price *= 1.0001; if ( price > maxprice )