Skip to content

Commit fa1a51c

Browse files
author
MarcoFalke
committed
doc: testnet3 was not reset and is doing BIP30 checks again
1 parent d3582f2 commit fa1a51c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/validation.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2006,9 +2006,8 @@ bool CChainState::ConnectBlock(const CBlock& block, BlockValidationState& state,
20062006
// another edge case to deal with.
20072007

20082008
// testnet3 has no blocks before the BIP34 height with indicated heights
2009-
// post BIP34 before approximately height 486,000,000 and presumably will
2010-
// be reset before it reaches block 1,983,702 and starts doing unnecessary
2011-
// BIP30 checking again.
2009+
// post BIP34 before approximately height 486,000,000. After block
2010+
// 1,983,702 testnet3 starts doing unnecessary BIP30 checking again.
20122011
assert(pindex->pprev);
20132012
CBlockIndex* pindexBIP34height = pindex->pprev->GetAncestor(m_params.GetConsensus().BIP34Height);
20142013
//Only continue to enforce if we're below BIP34 activation height or the block hash at that height doesn't correspond.

0 commit comments

Comments
 (0)