mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-20 22:38:34 +00:00
revert
This commit is contained in:
@@ -997,11 +997,7 @@ impl ProtoArrayForkChoice {
|
||||
/// Returns the `block.execution_status` field, if the block is present.
|
||||
pub fn get_block_execution_status(&self, block_root: &Hash256) -> Option<ExecutionStatus> {
|
||||
let block = self.get_proto_node(block_root)?;
|
||||
Some(
|
||||
block
|
||||
.execution_status()
|
||||
.unwrap_or_else(|_| ExecutionStatus::irrelevant()),
|
||||
)
|
||||
block.execution_status().ok()
|
||||
}
|
||||
|
||||
/// Returns whether the execution payload for a block has been received.
|
||||
|
||||
Reference in New Issue
Block a user