diff options
author | mydesktop <dev.mc2@gmail.com> | 2014-05-25 15:47:32 -0400 |
---|---|---|
committer | mydesktop <dev.mc2@gmail.com> | 2014-05-25 15:47:32 -0400 |
commit | e7171250739790a5e5040264c4c1356ddeeea241 (patch) | |
tree | 7e8d70adac9389b8d623fff79574e2becaed95d7 | |
parent | add checkpoints.cpp in unit tests (diff) | |
download | monero-e7171250739790a5e5040264c4c1356ddeeea241.tar.xz |
enable checkpointed block verification
-rw-r--r-- | src/cryptonote_core/blockchain_storage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/blockchain_storage.cpp b/src/cryptonote_core/blockchain_storage.cpp index 7123b7521..9e9c77e85 100644 --- a/src/cryptonote_core/blockchain_storage.cpp +++ b/src/cryptonote_core/blockchain_storage.cpp @@ -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 // 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)) { |