blockchain: fix pow skipping for old blocks without precalc hash

This commit is contained in:
moneromooo-monero
2020-09-07 01:57:19 +00:00
parent aefa7740c3
commit fc2cb224a9

View File

@@ -4049,8 +4049,8 @@ leave:
MCINFO("verify", "No pre-validated hash at height " << blockchain_height << ", verifying fully");
}
}
else
#endif
if (!fast_check)
{
auto it = m_blocks_longhash_table.find(id);
if (it != m_blocks_longhash_table.end())