1
0
mirror of https://github.com/bitcoin/bips.git synced 2026-06-01 17:15:27 +00:00

BIP 8: Remove impossible direct path from DEFINED to FAILING

This commit is contained in:
Luke Dashjr
2020-06-26 15:12:06 +00:00
parent a59aaceffc
commit 8e906f14af
3 changed files with 2 additions and 7 deletions

View File

@@ -110,12 +110,9 @@ Otherwise, the next state depends on the previous state:
switch (GetStateForBlock(GetAncestorAtHeight(block, block.height - 2016))) {
We remain in the initial state until either we pass the start block height or the timeout height.
We remain in the initial state until we reach the start block height.
case DEFINED:
if (block.height >= timeoutheight) {
return (lockinontimeout == true) ? LOCKED_IN : FAILING;
}
if (block.height >= startheight) {
return STARTED;
}