From 515fd2348be319df4224db408c7ca1b067456b76 Mon Sep 17 00:00:00 2001 From: Mark Mackey Date: Tue, 16 Dec 2025 16:31:37 -0600 Subject: [PATCH] fix tests compiler complaint --- .../types/src/execution/signed_execution_payload_envelope.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consensus/types/src/execution/signed_execution_payload_envelope.rs b/consensus/types/src/execution/signed_execution_payload_envelope.rs index ee36f60ed6..97423c7da5 100644 --- a/consensus/types/src/execution/signed_execution_payload_envelope.rs +++ b/consensus/types/src/execution/signed_execution_payload_envelope.rs @@ -58,7 +58,7 @@ impl SignedExecutionPayloadEnvelope { let pk: Option = v.pubkey.decompress().ok(); pk }) - .ok_or({ 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))