aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2014-10-03 21:45:29 +0200
committerRiccardo Spagni <ric@spagni.net>2014-10-03 21:45:29 +0200
commit11605054549abf73a70f656913c0e81c2af5a1b8 (patch)
tree8e9011253f0a8ebb280405899637cb2b25fb0b15 /src
parentquick hacky fix for broken TXT reads (diff)
downloadmonero-11605054549abf73a70f656913c0e81c2af5a1b8.tar.xz
fixed checkpointing bug
Diffstat (limited to 'src')
-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 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)