mirror of
https://github.com/wownero/wownero.git
synced 2026-10-17 15:41:44 +02:00
wallet2: ignore checkpoints in fast_refresh when height < 1000
(cherry picked from commit 3b268ae2854f6e1d24203b5fd64e2dc5d42bc940)
This commit is contained in:
@@ -3953,7 +3953,7 @@ void wallet2::fast_refresh(uint64_t stop_height, uint64_t &blocks_start_height,
|
||||
{
|
||||
std::vector<crypto::hash> hashes;
|
||||
|
||||
const uint64_t checkpoint_height = m_checkpoints.get_nearest_checkpoint_height(stop_height);
|
||||
const uint64_t checkpoint_height = (stop_height < 1000) ? 0 : m_checkpoints.get_nearest_checkpoint_height(stop_height);
|
||||
if ((stop_height > checkpoint_height && m_blockchain.size()-1 < checkpoint_height) && !force)
|
||||
{
|
||||
// we will drop all these, so don't bother getting them
|
||||
|
||||
Reference in New Issue
Block a user