enable checkpointed block verification
This commit is contained in:
parent
8d4320b201
commit
e717125073
|
@ -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))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue