Browse Source

test

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

2
iguana/iguana_ramchain.c

@ -1315,7 +1315,7 @@ int32_t iguana_Xspendmap(struct iguana_info *coin,struct iguana_ramchain *ramcha
munmap(ptr,filesize); munmap(ptr,filesize);
ramchain->Xspendinds = 0; ramchain->Xspendinds = 0;
} }
} else if ( iter == 1 ) printf("no Xspendfile.(%s)\n",fname); } //else if ( iter == 1 ) printf("no Xspendfile.(%s)\n",fname);
} }
} }
return(ramchain->numXspends); return(ramchain->numXspends);

2
iguana/iguana_unspents.c

@ -1342,7 +1342,7 @@ void iguana_initfinal(struct iguana_info *coin,bits256 lastbundle)
{ {
if ( (bp= coin->bundles[i]) == 0 || bp->utxofinish <= 1 ) if ( (bp= coin->bundles[i]) == 0 || bp->utxofinish <= 1 )
{ {
printf("initfinal break: bp.%p or utxofinish.%u\n",bp,bp!=0?bp->utxofinish:-1); printf("initfinal break.[%d]: bp.%p or utxofinish.%u\n",i,bp,bp!=0?bp->utxofinish:-1);
break; break;
} }
} }

Loading…
Cancel
Save