From ec51e3dda6125b918985236c5def05377251f09e Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 21 Apr 2016 14:47:08 -0500 Subject: [PATCH] test --- iguana/iguana_tx.c | 2 +- iguana/iguana_unspents.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/iguana/iguana_tx.c b/iguana/iguana_tx.c index a5005e651..a7bd2ddc5 100755 --- a/iguana/iguana_tx.c +++ b/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; } } diff --git a/iguana/iguana_unspents.c b/iguana/iguana_unspents.c index 5bba5777e..6d9950665 100755 --- a/iguana/iguana_unspents.c +++ b/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);