Skip to content

Commit

Permalink
fix: unused first_run
Browse files Browse the repository at this point in the history
  • Loading branch information
rymnc committed Jan 10, 2025
1 parent 687a23b commit 2df50bf
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ where
) -> anyhow::Result<
GasPriceServiceV1<FuelL2BlockSource<SettingsProvider>, DA, AtomicStorage>,
> {
let mut first_run = false;
let latest_block_height: u32 = self
.on_chain_db
.latest_view()?
Expand All @@ -179,7 +178,6 @@ where
let metadata_height = if let Some(metadata_height) = maybe_metadata_height {
metadata_height.into()
} else {
first_run = true;
latest_block_height
};

Expand Down

0 comments on commit 2df50bf

Please sign in to comment.