completing should_extend_payload implementation

This commit is contained in:
hopinheimer
2026-03-16 05:53:47 -04:00
parent 97d1b7bf3c
commit 0df749f0a2
9 changed files with 382 additions and 97 deletions

View File

@@ -23,9 +23,9 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
// Only check blocks that are descendants of the finalized checkpoint.
// Pruned non-canonical fork blocks may linger in the proto-array but
// are legitimately absent from the database.
fc.is_finalized_checkpoint_or_descendant(node.root)
fc.is_finalized_checkpoint_or_descendant(node.root())
})
.map(|node| (node.root, node.slot))
.map(|node| (node.root(), node.slot()))
.collect()
};