From 11605054549abf73a70f656913c0e81c2af5a1b8 Mon Sep 17 00:00:00 2001 From: Riccardo Spagni Date: Fri, 3 Oct 2014 21:45:29 +0200 Subject: fixed checkpointing bug --- src/cryptonote_core/blockchain_storage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/cryptonote_core/blockchain_storage.cpp b/src/cryptonote_core/blockchain_storage.cpp index 5148ea634..4cca878db 100644 --- a/src/cryptonote_core/blockchain_storage.cpp +++ b/src/cryptonote_core/blockchain_storage.cpp @@ -1794,7 +1794,7 @@ void blockchain_storage::check_against_checkpoints(checkpoints& points, bool enf continue; } - if (!m_checkpoints.check_block(pt.first, get_block_hash(m_blocks[pt.first].bl))) + if (!points.check_block(pt.first, get_block_hash(m_blocks[pt.first].bl))) { // if asked to enforce checkpoints, roll back to a couple of blocks before the checkpoint if (enforce) -- cgit v1.2.3