From 0cec1db87e83fc032e810443974224ed7da2c578 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 19 Sep 2017 11:26:08 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_prices.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/exchanges/LP_prices.c b/iguana/exchanges/LP_prices.c index 0e3397bdd..862a6e4c4 100644 --- a/iguana/exchanges/LP_prices.c +++ b/iguana/exchanges/LP_prices.c @@ -610,11 +610,11 @@ int32_t LP_orderbook_utxoentries(uint32_t now,int32_t polarity,char *base,char * if ( (ap= LP_addressfind(basecoin,coinaddr)) != 0 ) { n = LP_address_minmax(&minsatoshis,&maxsatoshis,ap); - /*if ( polarity < 0 ) + if ( polarity < 0 ) { minsatoshis *= price; maxsatoshis *= price; - }*/ + } } if ( (op= LP_orderbookentry(coinaddr,base,rel,polarity > 0 ? price : 1./price,n,minsatoshis,maxsatoshis,pubp->pubkey,pubp->timestamp)) != 0 ) {