Skip to content

Commit

Permalink
Fix pseudocode starting 1 block early
Browse files Browse the repository at this point in the history
  • Loading branch information
jrawsthorne committed Jul 22, 2020
1 parent 5cc0c6f commit d6267ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bip-0008.mediawiki
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit d6267ed

Please sign in to comment.