aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2020-09-07 01:57:19 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2020-09-07 01:57:19 +0000
commitfc2cb224a92a05e04333835e6444935a070ab4c7 (patch)
treea864f65719eac6da2b1eea1e30bec5ba7ebce8de /src
parentMerge pull request #6111 (diff)
downloadmonero-fc2cb224a92a05e04333835e6444935a070ab4c7.tar.xz
blockchain: fix pow skipping for old blocks without precalc hash
Diffstat (limited to 'src')
-rw-r--r--src/cryptonote_core/blockchain.cpp2
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())