From 7e5db2bbeb7a6c79cccfec792d92394fe1333257 Mon Sep 17 00:00:00 2001 From: Mark Mackey Date: Tue, 16 Dec 2025 16:04:29 -0600 Subject: [PATCH] fix linter complaints --- .../types/src/execution/signed_execution_payload_envelope.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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))