Browse Source

test

release/v0.1
jl777 8 years ago
parent
commit
0337672f30
  1. 2
      iguana/iguana777.c
  2. 1
      iguana/iguana_bundles.c

2
iguana/iguana777.c

@ -536,7 +536,9 @@ int32_t iguana_utxogen(struct supernet_info *myinfo,struct iguana_info *coin,int
coin->spendvectorsaved = (uint32_t)time(NULL);
coin->spendvalidated = 0;
printf("%s UTXOGEN spendvectorsaved <- %u\n",coin->symbol,coin->spendvectorsaved);
#ifdef ENABLE_UTXOADDR
iguana_utxoaddr_gen(myinfo,coin,(coin->bundlescount - 1) * coin->chain->bundlesize);
#endif
}
else
{

1
iguana/iguana_bundles.c

@ -221,6 +221,7 @@ int32_t iguana_bundlehash2add(struct iguana_info *coin,struct iguana_block **blo
printf("bp.[%d]->blocks[%d] mismatch %p != %p\n",bp->hdrsi,bundlei,bp->blocks[bundlei],block);
iguana_blockunmark(coin,block,bp,bundlei,1);
bp->blocks[bundlei] = 0;
memset(bp->hashes[bundlei].bytes,0,sizeof(bp->hashes[bundlei]));
return(-1);
}
}

Loading…
Cancel
Save