diff --git a/iguana/kmd_lookup.h b/iguana/kmd_lookup.h index 38770e51c..00a388730 100755 --- a/iguana/kmd_lookup.h +++ b/iguana/kmd_lookup.h @@ -350,7 +350,7 @@ cJSON *kmd_listspent(struct iguana_info *coin,char *coinaddr) cJSON *kmd_getbalance(struct iguana_info *coin,char *coinaddr) { - cJSON *array,*retjson; int32_t iter; uint64_t spent=0,unspent=0,value; + cJSON *array,*retjson,*item; int32_t iter,i,n; uint64_t spent=0,unspent=0,value; for (iter=0; iter<2; iter++) { if ( (array= kmd_listaddress(coin,coinaddr,iter)) != 0 ) @@ -359,7 +359,7 @@ cJSON *kmd_getbalance(struct iguana_info *coin,char *coinaddr) { for (i=0; i