From 2637fcf122f353d499629311dddbe692691668a8 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 16 Sep 2017 22:26:53 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_utxos.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/iguana/exchanges/LP_utxos.c b/iguana/exchanges/LP_utxos.c index 0b6deaa0d..ad4cdfee2 100644 --- a/iguana/exchanges/LP_utxos.c +++ b/iguana/exchanges/LP_utxos.c @@ -665,7 +665,7 @@ int32_t LP_privkey_init(int32_t mypubsock,struct iguana_info *coin,bits256 mypri if ( coin->inactive == 0 && (array= LP_listunspent(coin->symbol,coin->smartaddr)) != 0 ) { txfee = LP_txfeecalc(coin,0); - if ( 0 && is_cJSON_Array(array) != 0 && (n= cJSON_GetArraySize(array)) > 0 ) + if ( is_cJSON_Array(array) != 0 && (n= cJSON_GetArraySize(array)) > 0 ) { for (iambob=0; iambob<=1; iambob++) { @@ -701,7 +701,7 @@ int32_t LP_privkey_init(int32_t mypubsock,struct iguana_info *coin,bits256 mypri } else used++; } //printf("array.%d\n",n); - while ( used < n-1 ) + while ( 0 && used < n-1 ) { //for (i=0; isymbol); + if ( flag != 0 ) + LP_postutxos(coin->symbol); } //printf("privkey.%s %.8f\n",symbol,dstr(total)); return(flag);