blockchain: fix pow skipping for old blocks without precalc hash
This commit is contained in:
parent
aefa7740c3
commit
fc2cb224a9
@ -4049,8 +4049,8 @@ leave:
|
|||||||
MCINFO("verify", "No pre-validated hash at height " << blockchain_height << ", verifying fully");
|
MCINFO("verify", "No pre-validated hash at height " << blockchain_height << ", verifying fully");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
|
||||||
#endif
|
#endif
|
||||||
|
if (!fast_check)
|
||||||
{
|
{
|
||||||
auto it = m_blocks_longhash_table.find(id);
|
auto it = m_blocks_longhash_table.find(id);
|
||||||
if (it != m_blocks_longhash_table.end())
|
if (it != m_blocks_longhash_table.end())
|
||||||
|
Loading…
Reference in New Issue
Block a user