enable checkpointed block verification

This commit is contained in:
mydesktop 2014-05-25 15:47:32 -04:00
parent 8d4320b201
commit e717125073

View File

@ -1526,7 +1526,7 @@ bool blockchain_storage::handle_block_to_main_chain(const block& bl, const crypt
// If we're at a checkpoint, ensure that our hardcoded checkpoint hash // If we're at a checkpoint, ensure that our hardcoded checkpoint hash
// is correct. // is correct.
if(!m_checkpoints.is_in_checkpoint_zone(get_current_blockchain_height())) if(m_checkpoints.is_in_checkpoint_zone(get_current_blockchain_height()))
{ {
if(!m_checkpoints.check_block(get_current_blockchain_height(), id)) if(!m_checkpoints.check_block(get_current_blockchain_height(), id))
{ {