From 8542d6870a3adf976a269f1c14ff098ae1d8c91c Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 31 Mar 2018 14:06:48 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_portfolio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_portfolio.c b/iguana/exchanges/LP_portfolio.c index b2240a642..9bd158908 100644 --- a/iguana/exchanges/LP_portfolio.c +++ b/iguana/exchanges/LP_portfolio.c @@ -577,7 +577,7 @@ void LP_autoprice_iter(void *ctx,struct LP_priceinfo *btcpp) if ( LP_autorefs[i].usdpeg != 0 ) { if ( price_usd > SMALLVAL ) - price = price_usd; + price = 1. / price_usd; else continue; } else