Browse Source

test

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

2
iguana/iguana_tx.c

@ -220,7 +220,7 @@ int32_t iguana_peerblockrequest(struct iguana_info *coin,uint8_t *blockspace,int
}
else
{
printf("null tx error getting txi.%d [%d:%d]\n",i,bp->hdrsi,bundlei);
//printf("null tx error getting txi.%d [%d:%d]\n",i,bp->hdrsi,bundlei);
break;
}
}

2
iguana/iguana_unspents.c

@ -2180,6 +2180,8 @@ TWOSTRINGS_AND_INT(iguana,balance,activecoin,address,height)
memset(pubkey33,0,sizeof(pubkey33));
P = calloc(coin->bundlescount,sizeof(*P));
array = cJSON_CreateArray();
if ( height == 0 )
height = (1 << 30);
iguana_pkhasharray(coin,array,minconf,maxconf,&total,P,coin->bundlescount,rmd160,address,pubkey33,height);
free(P);
jadd(retjson,"unspents",array);

Loading…
Cancel
Save