From 26f2fadb61491a5c0978a6f64323a6de313be587 Mon Sep 17 00:00:00 2001 From: Dustin Brickwood Date: Fri, 10 Jan 2025 09:56:43 -0600 Subject: [PATCH] chore: fix lint --- crates/core/src/fork.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/core/src/fork.rs b/crates/core/src/fork.rs index 9f98be2d..1eb92029 100644 --- a/crates/core/src/fork.rs +++ b/crates/core/src/fork.rs @@ -551,8 +551,7 @@ impl ForkDetails { block.l1_batch_number = Some(l1_batch_number.0.into()); if !block_details - .protocol_version - .map_or(false, supported_protocol_versions) + .protocol_version.is_some_and(supported_protocol_versions) { return Err(eyre!("This block is using the unsupported protocol version: {:?}. This binary supports versions {}.", block_details.protocol_version,