Browse Source

fix tx creation

release/v0.1
jl777 8 years ago
parent
commit
5fb7863eb2
  1. 2
      iguana/iguana_chains.c
  2. 2
      iguana/iguana_unspents.c

2
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 )

2
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<max+(lastheight>=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 )

Loading…
Cancel
Save