diff --git a/iguana/iguana_chains.c b/iguana/iguana_chains.c index d2706b82f..439232368 100755 --- a/iguana/iguana_chains.c +++ b/iguana/iguana_chains.c @@ -483,7 +483,7 @@ void iguana_chaininit(struct supernet_info *myinfo,struct iguana_chain *chain,in chain->txfee = 10000; chain->havecltv = 1; } - else chain->txfee = 1000000; + else chain->txfee = 10000; if ( chain->unitval == 0 ) chain->unitval = 0x1e; if ( argjson != 0 ) diff --git a/iguana/iguana_unspents.c b/iguana/iguana_unspents.c index 2e5c02ee6..451f768cd 100755 --- a/iguana/iguana_unspents.c +++ b/iguana/iguana_unspents.c @@ -562,9 +562,9 @@ int32_t iguana_RTpkhasharray(struct supernet_info *myinfo,struct iguana_info *co //printf("minconf.%d maxconf.%d max.%d addr.%s last.%d maxunspents.%d\n",minconf,maxconf,max,coinaddr,lastheight,maxunspents); for (total=n=i=0; i=coin->firstRTheight); i++) { + bp = 0; if ( i != max && (bp= coin->bundles[i]) == 0 ) continue; - else bp = 0; if ( bp != 0 ) { if ( lastheight > 0 && bp->bundleheight > lastheight )