diff options
author | Luke Dashjr <luke_github1@dashjr.org> | 2020-08-01 02:28:38 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-01 02:28:38 +0000 |
commit | c134a853a9fc06572617b6a3d344f0a415ec7dc5 (patch) | |
tree | 358087f946394e388cd8c53d0b2d1ed236bbbb7f | |
parent | d1eec057392e926958d1d97dd5d77154f5ceb65c (diff) | |
parent | d6267eddb48f1edb5039efda59ad55eb6926a595 (diff) |
Merge pull request #949 from jrawsthorne/bip8-pseudocode-fix
BIP8: Fix pseudocode starting 1 block early
-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) { |