aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-12-27 19:00:13 +0100
committerMarcoFalke <falke.marco@gmail.com>2021-12-27 18:56:54 +0100
commitfa1a51cbc1c50a6d3adcad5ccea4c6067f89f7d3 (patch)
tree60599285bcd4cf1962349d6e788ec774a94497a9 /src
parentd3582f2d3bfebb32316aa3974f6f27db20a610f5 (diff)
downloadbitcoin-fa1a51cbc1c50a6d3adcad5ccea4c6067f89f7d3.tar.xz
doc: testnet3 was not reset and is doing BIP30 checks again
Diffstat (limited to 'src')
-rw-r--r--src/validation.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/validation.cpp b/src/validation.cpp
index c521e9b634..d3e58622de 100644
--- a/src/validation.cpp
+++ b/src/validation.cpp
@@ -2006,9 +2006,8 @@ bool CChainState::ConnectBlock(const CBlock& block, BlockValidationState& state,
// another edge case to deal with.
// testnet3 has no blocks before the BIP34 height with indicated heights
- // post BIP34 before approximately height 486,000,000 and presumably will
- // be reset before it reaches block 1,983,702 and starts doing unnecessary
- // BIP30 checking again.
+ // post BIP34 before approximately height 486,000,000. After block
+ // 1,983,702 testnet3 starts doing unnecessary BIP30 checking again.
assert(pindex->pprev);
CBlockIndex* pindexBIP34height = pindex->pprev->GetAncestor(m_params.GetConsensus().BIP34Height);
//Only continue to enforce if we're below BIP34 activation height or the block hash at that height doesn't correspond.