From ddda91c61b903b094f4fa484507da31c62fbb580 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 27 Mar 2018 18:39:54 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_utxo.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_utxo.c b/iguana/exchanges/LP_utxo.c index 26c2d52fa..a4cdc5d4d 100644 --- a/iguana/exchanges/LP_utxo.c +++ b/iguana/exchanges/LP_utxo.c @@ -573,7 +573,9 @@ struct LP_address *LP_address_utxo_reset(struct iguana_info *coin) } } printf("added %d of %d from %s listunspents\n",m,n,coin->symbol); - } else ap = 0; + } + if ( n <= 1 ) + ap = 0; free_json(array); } portable_mutex_unlock(&coin->addressutxo_mutex);