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
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

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