Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
d1ee4816a7
  1. 2
      iguana/iguana_unspents.c

2
iguana/iguana_unspents.c

@ -863,9 +863,9 @@ int64_t iguana_pkhashbalance(struct iguana_info *coin,cJSON *array,int64_t *spen
while ( unspentind > 0 ) while ( unspentind > 0 )
{ {
(*nump)++; (*nump)++;
deposits += U[unspentind].value;
if ( iguana_spentflag(coin,&RTspend,&spentheight,ramchain,hdrsi,unspentind,height,U[unspentind].value) == 0 ) if ( iguana_spentflag(coin,&RTspend,&spentheight,ramchain,hdrsi,unspentind,height,U[unspentind].value) == 0 )
{ {
deposits += U[unspentind].value;
if ( array != 0 ) if ( array != 0 )
jaddi(array,iguana_unspentjson(coin,hdrsi,unspentind,T,&U[unspentind],rmd160,coinaddr,pubkey33)); jaddi(array,iguana_unspentjson(coin,hdrsi,unspentind,T,&U[unspentind],rmd160,coinaddr,pubkey33));
} else spent += U[unspentind].value; } else spent += U[unspentind].value;

Loading…
Cancel
Save