mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 01:05:47 +00:00
block verification changes
This commit is contained in:
@@ -643,10 +643,7 @@ where
|
||||
|
||||
/// Register that a valid execution payload envelope has been received for `block_root`,
|
||||
/// updating the node's `payload_status` from PENDING to FULL.
|
||||
pub fn on_execution_payload(
|
||||
&mut self,
|
||||
block_root: Hash256,
|
||||
) -> Result<(), Error<T::Error>> {
|
||||
pub fn on_execution_payload(&mut self, block_root: Hash256) -> Result<(), Error<T::Error>> {
|
||||
self.proto_array
|
||||
.on_execution_payload(block_root)
|
||||
.map_err(Error::FailedToProcessValidExecutionPayload)
|
||||
|
||||
Reference in New Issue
Block a user