mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-20 14:28:37 +00:00
Split out InvalidPayloadAttestation error
This commit is contained in:
@@ -1698,7 +1698,7 @@ impl<T: BeaconChainTypes> ExecutionPendingBlock<T> {
|
||||
indexed_payload_attestation,
|
||||
AttestationFromBlock::True,
|
||||
&ptc.0,
|
||||
) && !matches!(e, ForkChoiceError::InvalidAttestation(_))
|
||||
) && !matches!(e, ForkChoiceError::InvalidPayloadAttestation(_))
|
||||
{
|
||||
return Err(BlockError::BeaconChainError(Box::new(e.into())));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user