Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
ed1aa434b2
  1. 6
      iguana/iguana_ramchain.c

6
iguana/iguana_ramchain.c

@ -2651,9 +2651,9 @@ int32_t iguana_bundlesaveHT(struct iguana_info *coin,struct OS_memspace *mem,str
numtxids += (mapchain->H.data->numtxids - 1);
numunspents += (mapchain->H.data->numunspents - 1);
numspends += (mapchain->H.data->numspends - 1);
scriptspace += iguana_ramchain_scriptspace(coin,&sigsize,&pubkeysize,mapchain);
sigspace += sigsize;
pubkeyspace += pubkeysize;
scriptspace += 0;//iguana_ramchain_scriptspace(coin,&sigsize,&pubkeysize,mapchain);
//sigspace += sigsize;
//pubkeyspace += pubkeysize;
if ( (block= bp->blocks[bundlei]) == 0 || bits256_nonz(block->RO.hash2) == 0 || block != iguana_blockfind(coin,block->RO.hash2) || memcmp(block->RO.hash2.bytes,bp->hashes[bundlei].bytes,sizeof(bits256)) != 0 )
{
printf("block.%p error vs %p\n",block,iguana_blockfind(coin,block->RO.hash2));

Loading…
Cancel
Save