fixed checkpointing bug

This commit is contained in:
Riccardo Spagni 2014-10-03 21:45:29 +02:00
parent c4d6658f4c
commit 1160505454
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD
1 changed files with 1 additions and 1 deletions

View File

@ -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)