aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core
diff options
context:
space:
mode:
authormydesktop <dev.mc2@gmail.com>2014-05-25 15:47:32 -0400
committermydesktop <dev.mc2@gmail.com>2014-05-25 15:47:32 -0400
commite7171250739790a5e5040264c4c1356ddeeea241 (patch)
tree7e8d70adac9389b8d623fff79574e2becaed95d7 /src/cryptonote_core
parentadd checkpoints.cpp in unit tests (diff)
downloadmonero-e7171250739790a5e5040264c4c1356ddeeea241.tar.xz
enable checkpointed block verification
Diffstat (limited to 'src/cryptonote_core')
-rw-r--r--src/cryptonote_core/blockchain_storage.cpp2
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))
{