Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
4fe48500f6
  1. 2
      iguana/iguana777.c
  2. 2
      iguana/iguana_unspents.c

2
iguana/iguana777.c

@ -478,7 +478,7 @@ int32_t iguana_utxogen(struct iguana_info *coin,int32_t helperid,int32_t convert
} }
} }
//printf("helper.%d check validates\n",helperid); //printf("helper.%d check validates\n",helperid);
//incr = IGUANA_NUMHELPERS; incr = IGUANA_NUMHELPERS;
if ( helperid < incr ) if ( helperid < incr )
{ {
for (hdrsi=helperid; hdrsi<max; hdrsi+=incr) for (hdrsi=helperid; hdrsi<max; hdrsi+=incr)

2
iguana/iguana_unspents.c

@ -331,6 +331,8 @@ int32_t iguana_volatileupdate(struct iguana_info *coin,int32_t incremental,struc
{ {
if ( incremental == 0 ) if ( incremental == 0 )
{ {
if ( spentchain->Uextras == 0 || spentchain->A2 == 0 )
iguana_volatilesmap(coin,spentchain);
if ( spentchain->Uextras != 0 && (A2= spentchain->A2) != 0 ) if ( spentchain->Uextras != 0 && (A2= spentchain->A2) != 0 )
{ {
utxo = &spentchain->Uextras[spent_unspentind]; utxo = &spentchain->Uextras[spent_unspentind];

Loading…
Cancel
Save