mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 17:26:04 +00:00
revcert
This commit is contained in:
@@ -1431,7 +1431,6 @@ impl ProtoArray {
|
|||||||
.nodes
|
.nodes
|
||||||
.get(node.proto_node_index)
|
.get(node.proto_node_index)
|
||||||
.ok_or(Error::InvalidNodeIndex(node.proto_node_index))?;
|
.ok_or(Error::InvalidNodeIndex(node.proto_node_index))?;
|
||||||
|
|
||||||
let mut children = vec![(node.with_status(PayloadStatus::Empty), proto_node.clone())];
|
let mut children = vec![(node.with_status(PayloadStatus::Empty), proto_node.clone())];
|
||||||
// The FULL virtual child only exists if the payload has been received.
|
// The FULL virtual child only exists if the payload has been received.
|
||||||
if proto_node.payload_received().is_ok_and(|received| received) {
|
if proto_node.payload_received().is_ok_and(|received| received) {
|
||||||
@@ -1464,7 +1463,6 @@ impl ProtoArray {
|
|||||||
.iter()
|
.iter()
|
||||||
.filter_map(|&child_index| {
|
.filter_map(|&child_index| {
|
||||||
let child_node = self.nodes.get(child_index)?;
|
let child_node = self.nodes.get(child_index)?;
|
||||||
// Skip parent_payload_status filter for V17 children (they don't have it)
|
|
||||||
if child_node.get_parent_payload_status() != node.payload_status {
|
if child_node.get_parent_payload_status() != node.payload_status {
|
||||||
return None;
|
return None;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user