Merge pull request #6805

fc2cb22 blockchain: fix pow skipping for old blocks without precalc hash (moneromooo-monero)
This commit is contained in:
luigi1111 2020-09-07 15:31:20 -05:00
commit 836067b68b
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

View File

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