mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 00:42:42 +00:00
Merge remote-tracking branch 'origin/gloas-walk-always' into gloas-walk-always
This commit is contained in:
@@ -1217,14 +1217,7 @@ impl ProtoArray {
|
|||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
|
|
||||||
// Nodes with invalid execution payloads are never viable.
|
|
||||||
// (The spec doesn't need this check because invalid blocks aren't in store.blocks.)
|
|
||||||
if node
|
|
||||||
.execution_status()
|
|
||||||
.is_ok_and(|status| status.is_invalid())
|
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Skip invalid children — they aren't in store.blocks in the spec.
|
// Skip invalid children — they aren't in store.blocks in the spec.
|
||||||
let children: Vec<usize> = self
|
let children: Vec<usize> = self
|
||||||
|
|||||||
Reference in New Issue
Block a user