Commit c996675
committed
validation: fix traversal condition to mark BLOCK_FAILED_CHILD
this block of code is not reached on master since other than
initialisation, all other iterations have invalid_walk_tip
and to_mark_failed pointers in some form of this layout
where 1, 2, 3 and 4 are block heights.
invalid_walk_tip
↓
1 <- 2 <- 3 <- 4
↑
to_mark_failed
fix it so that blocks are correctly marked as BLOCK_FAILED_CHILD
if it's a descendant of BLOCK_FAILED_VALID block.1 parent f93d6cb commit c996675
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3747 | 3747 | | |
3748 | 3748 | | |
3749 | 3749 | | |
3750 | | - | |
| 3750 | + | |
3751 | 3751 | | |
3752 | 3752 | | |
3753 | 3753 | | |
| |||
0 commit comments