Browse Source

test

olddPoW
jl777 8 years ago
parent
commit
8730050f69
  1. 2
      iguana/iguana_blocks.c

2
iguana/iguana_blocks.c

@ -284,7 +284,7 @@ int32_t iguana_blocksizecheck(char *debugstr,uint8_t zcash,struct iguana_block *
int32_t bsize = zcash != 0 ? sizeof(struct iguana_zblock) : sizeof(struct iguana_block);
if ( block->RO.allocsize != bsize )
{
if ( block->RO.allocsize == 0 || block->RO.allocsize != bsize )
if ( block->RO.allocsize == 0 || block->RO.allocsize < bsize )
{
//printf("%s block validate warning: mismatched size %d vs %d\n",debugstr,block->RO.allocsize,bsize);
block->RO.allocsize = bsize;

Loading…
Cancel
Save