diff --git a/consensus/types/src/execution/signed_execution_payload_envelope.rs b/consensus/types/src/execution/signed_execution_payload_envelope.rs index 491ead138a..ee36f60ed6 100644 --- a/consensus/types/src/execution/signed_execution_payload_envelope.rs +++ b/consensus/types/src/execution/signed_execution_payload_envelope.rs @@ -58,9 +58,7 @@ impl SignedExecutionPayloadEnvelope { let pk: Option = v.pubkey.decompress().ok(); pk }) - .ok_or_else(|| { - BeaconStateError::UnknownValidator(self.message.builder_index as usize) - })?; + .ok_or({ BeaconStateError::UnknownValidator(self.message.builder_index as usize) })?; let message = self.message.signing_root(domain); Ok(self.signature.verify(&pubkey, message))