diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2020-09-07 01:57:19 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2020-09-07 01:57:19 +0000 |
commit | fc2cb224a92a05e04333835e6444935a070ab4c7 (patch) | |
tree | a864f65719eac6da2b1eea1e30bec5ba7ebce8de | |
parent | Merge pull request #6111 (diff) | |
download | monero-fc2cb224a92a05e04333835e6444935a070ab4c7.tar.xz |
blockchain: fix pow skipping for old blocks without precalc hash
-rw-r--r-- | src/cryptonote_core/blockchain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp index 71b32dcf6..5825bac7e 100644 --- a/src/cryptonote_core/blockchain.cpp +++ b/src/cryptonote_core/blockchain.cpp @@ -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()) |