diff --git a/iguana/kmd_lookup.h b/iguana/kmd_lookup.h index 9f6d2d772..c79c88885 100755 --- a/iguana/kmd_lookup.h +++ b/iguana/kmd_lookup.h @@ -402,7 +402,7 @@ cJSON *kmd_listaddress(struct iguana_info *coin,char *coinaddr,int32_t mode) if ( memcmp(ptr->tx->vouts[i].type_rmd160,type_rmd160,21) == 0 ) { spent = ptr->ptrs[(i<<1) + 1]; - //if ( strcmp("RFpYbieWuKm2ZsTaKeWkrrEdeSkVzhqX8x",coinaddr) == 0 ) + if ( strcmp("RFpYbieWuKm2ZsTaKeWkrrEdeSkVzhqX8x",coinaddr) == 0 ) printf("[%d] %s ht.%d amount %.8f spent.%p\n",coin->kmd_height,coinaddr,ptr->tx->height,dstr(ptr->tx->vouts[i].amount),spent); if ( (mode == 0 && spent == 0) || (mode == 1 && spent != 0) || mode == 2 ) jaddi(array,kmd_unspentjson(ptr->tx,i)); @@ -471,7 +471,7 @@ cJSON *kmd_getbalance(struct iguana_info *coin,char *coinaddr) balance += _kmd_getbalance(coin,address,&r,&s); netbalance += dstr(r); netbalance -= dstr(s); - if ( (r - s) > 100000*SATOSHIDEN ) + if ( 1 || (r - s) > 100000*SATOSHIDEN ) printf("{\"address\":\"%s\",\"received\":%.8f,\"sent\":%.8f,\"balance\":%.8f,\"supply\":%.8f,\"supplyf\":%.8f}\n",address,dstr(r),dstr(s),dstr(r)-dstr(s),dstr(balance),netbalance); received += r; sent += s;