mirror of
https://github.com/monero-project/monero.git
synced 2026-01-24 05:14:26 +01:00
fixed checkpointing bug
This commit is contained in:
@@ -1794,7 +1794,7 @@ void blockchain_storage::check_against_checkpoints(checkpoints& points, bool enf
|
|||||||
continue;
|
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 asked to enforce checkpoints, roll back to a couple of blocks before the checkpoint
|
||||||
if (enforce)
|
if (enforce)
|
||||||
|
|||||||
Reference in New Issue
Block a user