diff options
author | luigi1111 <luigi1111w@gmail.com> | 2020-09-07 15:31:20 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2020-09-07 15:31:20 -0500 |
commit | 836067b68b3a3a31fb8f6c6816fde0f1bf8f2771 (patch) | |
tree | 663c107208d6d5735a27bb734ac5aa5afdccaf69 /src | |
parent | Merge pull request #6804 (diff) | |
parent | blockchain: fix pow skipping for old blocks without precalc hash (diff) | |
download | monero-836067b68b3a3a31fb8f6c6816fde0f1bf8f2771.tar.xz |
Merge pull request #6805
fc2cb22 blockchain: fix pow skipping for old blocks without precalc hash (moneromooo-monero)
Diffstat (limited to 'src')
-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()) |