mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-16 19:32:55 +00:00
small fix
This commit is contained in:
@@ -398,6 +398,13 @@ impl ProtoArray {
|
||||
node.payload_status = PAYLOAD_STATUS_FULL;
|
||||
}
|
||||
|
||||
// Mark the execution status as valid now that the payload has been verified.
|
||||
// This is critical for Gloas blocks which start as Optimistic(block_hash).
|
||||
if let ExecutionStatus::Optimistic(block_hash) = node.execution_status {
|
||||
node.execution_status = ExecutionStatus::Valid(block_hash);
|
||||
self.propagate_execution_payload_validation_by_index(index)?;
|
||||
}
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user