Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
b5d48e86f5
  1. 5
      iguana/iguana_unspents.c

5
iguana/iguana_unspents.c

@ -1100,14 +1100,19 @@ int32_t iguana_balancecalc(struct iguana_info *coin,struct iguana_bundle *bp,int
}
}
#endif
printf("A [%d] j.%d\n",bp->hdrsi,j);
if ( j == 0 )
{
for (; j<bp->hdrsi; j++)
{
if ( (prevbp= coin->bundles[j]) == 0 || prevbp->utxofinish <= 1 || prevbp->balancefinish <= 1 )
{
j = -1
break;
}
}
}
printf("B [%d] j.%d u.%u b.%u\n",bp->hdrsi,j,bp->utxofinish,bp->balancefinish);
if ( bp->utxofinish > 1 && bp->balancefinish <= 1 && bp->hdrsi == j )
{
starttime = (uint32_t)time(NULL);

Loading…
Cancel
Save