Browse Source

test

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

2
iguana/iguana_unspents.c

@ -1567,7 +1567,7 @@ int32_t iguana_balanceflush(struct iguana_info *coin,int32_t refhdrsi,int32_t pu
int32_t i; struct iguana_bundle *prevbp;
for (i=0; i<=bp->hdrsi; i++)
{
if ( (prevbp= coin->bundles[i]) != 0 )
if ( (prevbp= coin->bundles[i]) != 0 && prevbp->tmpspends != 0 )
{
if ( iguana_spendvectorsave(coin,prevbp,&prevbp->ramchain,prevbp->tmpspends,prevbp->numtmpspends,prevbp->ramchain.H.data->numspends) < 0 )
break;

Loading…
Cancel
Save