diff options
author | Jake Rawsthorne <jake@jakerawsthorne.co.uk> | 2020-07-22 20:56:09 +0100 |
---|---|---|
committer | Jake Rawsthorne <jake@jakerawsthorne.co.uk> | 2020-07-22 20:56:09 +0100 |
commit | d6267eddb48f1edb5039efda59ad55eb6926a595 (patch) | |
tree | 84f6669846cb27c309a2fd32ad8e4541371d345f /bip-0008.mediawiki | |
parent | 5cc0c6fb498efdc35debc17c044ee9ccaa13f0ce (diff) |
Fix pseudocode starting 1 block early
Diffstat (limited to 'bip-0008.mediawiki')
-rw-r--r-- | bip-0008.mediawiki | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bip-0008.mediawiki b/bip-0008.mediawiki index a16c211..6fa8cea 100644 --- a/bip-0008.mediawiki +++ b/bip-0008.mediawiki @@ -127,7 +127,7 @@ Note that a block's state never depends on its own nVersion; only on that of its case STARTED: int count = 0; - walk = block.parent; + walk = block; for (i = 0; i < 2016; i++) { walk = walk.parent; if (walk.nVersion & 0xE0000000 == 0x20000000 && (walk.nVersion >> bit) & 1 == 1) { |