From 77cb41e31568d0d20281c2bfd38777ec50f5965c Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 13 Oct 2017 00:31:13 +0300 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 089d2f299..e6ef44ac0 100644 --- a/iguana/exchanges/LP_ordermatch.c +++ b/iguana/exchanges/LP_ordermatch.c @@ -456,7 +456,7 @@ int32_t LP_nearest_utxovalue(struct iguana_info *coin,struct LP_address_utxo **u { dist = (up->U.value - targetval); printf("nearest i.%d target %.8f val %.8f dist %.8f mindist %.8f mini.%d spent.%d\n",i,dstr(targetval),dstr(up->U.value),dstr(dist),dstr(mindist),mini,up->spendheight); - if (up->spendheight == 0 ) + if ( up->spendheight <= 0 ) { if ( coin->electrum != 0 ) {