Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dutterbutter committed Jan 10, 2025
1 parent f6bcd45 commit 26f2fad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/core/src/fork.rs
Original file line number Diff line number Diff line change
Expand Up @@ -551,8 +551,7 @@ impl ForkDetails {
block.l1_batch_number = Some(l1_batch_number.0.into());

Check warning on line 551 in crates/core/src/fork.rs

View workflow job for this annotation

GitHub Actions / lint

Diff in /home/runner/work/anvil-zksync/anvil-zksync/crates/core/src/fork.rs

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,
Expand Down

0 comments on commit 26f2fad

Please sign in to comment.