diff --git a/iguana/exchanges/LP_privkey.c b/iguana/exchanges/LP_privkey.c index 5e48126f7..65cadc78e 100644 --- a/iguana/exchanges/LP_privkey.c +++ b/iguana/exchanges/LP_privkey.c @@ -417,27 +417,28 @@ bits256 LP_privkeycalc(void *ctx,uint8_t *pubkey33,bits256 *pubkeyp,struct iguan void verus_utxos(struct iguana_info *coin,char *coinaddr) { - cJSON *array,*item; char buf[64],str[65]; int32_t i,vout,n=0; bits256 txid; + cJSON *array,*item; char buf[64],str[65]; int32_t i,m,vout,n=0; bits256 txid; sprintf(buf,"[%d, 99999999, [\"%s\"]]",1,coinaddr); array = bitcoin_json(coin,"listunspent",buf); if ( array != 0 ) { if ( (n= cJSON_GetArraySize(array)) > 0 ) { - for (i=0; i