diff --git a/iguana/iguana_blocks.c b/iguana/iguana_blocks.c index 82dbbec9a..1323ac99f 100755 --- a/iguana/iguana_blocks.c +++ b/iguana/iguana_blocks.c @@ -190,6 +190,8 @@ int32_t iguana_blockvalidate(struct iguana_info *coin,int32_t *validp,struct igu bits256 hash2; uint8_t serialized[sizeof(struct iguana_msgblock) + 4096]; *validp = 0; iguana_serialize_block(coin->chain,&hash2,serialized,block); + if ( coin->MAXPEERS == 1 ) + hash2 = block->RO.hash2; *validp = (memcmp(hash2.bytes,block->RO.hash2.bytes,sizeof(hash2)) == 0); block->valid = *validp; char str[65]; char str2[65];