aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2020-09-07 15:31:20 -0500
committerluigi1111 <luigi1111w@gmail.com>2020-09-07 15:31:20 -0500
commit836067b68b3a3a31fb8f6c6816fde0f1bf8f2771 (patch)
tree663c107208d6d5735a27bb734ac5aa5afdccaf69 /src/cryptonote_core
parentMerge pull request #6804 (diff)
parentblockchain: fix pow skipping for old blocks without precalc hash (diff)
downloadmonero-836067b68b3a3a31fb8f6c6816fde0f1bf8f2771.tar.xz
Merge pull request #6805
fc2cb22 blockchain: fix pow skipping for old blocks without precalc hash (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_core')
-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())