mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-31 05:07:12 +00:00
update
This commit is contained in:
@@ -322,12 +322,6 @@ pub enum BlockError {
|
||||
bid_parent_root: Hash256,
|
||||
block_parent_root: Hash256,
|
||||
},
|
||||
/// An error occurred while processing a payload envelope.
|
||||
///
|
||||
/// ## Peer scoring
|
||||
///
|
||||
/// Peer scoring depends on the inner `EnvelopeError`.
|
||||
EnvelopeError(EnvelopeError),
|
||||
}
|
||||
|
||||
/// Which specific signature(s) are invalid in a SignedBeaconBlock
|
||||
@@ -347,12 +341,6 @@ impl From<AvailabilityCheckError> for BlockError {
|
||||
}
|
||||
}
|
||||
|
||||
impl From<EnvelopeError> for BlockError {
|
||||
fn from(e: EnvelopeError) -> Self {
|
||||
Self::EnvelopeError(e)
|
||||
}
|
||||
}
|
||||
|
||||
/// Returned when block validation failed due to some issue verifying
|
||||
/// the execution payload.
|
||||
#[derive(Debug)]
|
||||
|
||||
Reference in New Issue
Block a user