From 6c5b09b18a6fd81b2782296dcc94aa74edc3c034 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 22 Jul 2017 13:25:31 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_prices.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_prices.c b/iguana/exchanges/LP_prices.c index 6e1006391..ac9556f03 100644 --- a/iguana/exchanges/LP_prices.c +++ b/iguana/exchanges/LP_prices.c @@ -698,7 +698,7 @@ cJSON *LP_pricearray(char *base,char *rel,uint32_t firsttime,uint32_t lasttime,i bidsum = 0.; numbids = 0; } - if ( (bid= dstr(bidprice64)) != 0. ) + if ( (bid= 1. / dstr(bidprice64)) != 0. ) { if ( bid > highbid ) highbid = bid;