From 10723a3c198282d1f296e3373ff51e8937eefbed Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 16 Oct 2017 16:41:18 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_prices.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/iguana/exchanges/LP_prices.c b/iguana/exchanges/LP_prices.c index c742decd2..f91916e73 100644 --- a/iguana/exchanges/LP_prices.c +++ b/iguana/exchanges/LP_prices.c @@ -719,6 +719,8 @@ int32_t LP_orderbook_utxoentries(uint32_t now,int32_t polarity,char *base,char * //printf("skip pubp since no rmd160\n"); continue; } + if ( pubp->timestamp < oldest ) + continue; bitcoin_address(coinaddr,basecoin->taddr,basecoin->pubtype,pubp->rmd160,sizeof(pubp->rmd160)); minsatoshis = maxsatoshis = n = 0; ap = 0;