Skip to content

Commit

Permalink
Apply suggestion from the PR
Browse files Browse the repository at this point in the history
  • Loading branch information
xgreenx committed Aug 20, 2024
1 parent 22b0675 commit 561db96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/fuel-core/src/combined_database.rs
Original file line number Diff line number Diff line change
Expand Up @@ -254,13 +254,13 @@ impl CombinedDatabase {
let gas_price_chain_height =
self.gas_price().latest_height_from_metadata()?;

let gas_price_rollbacked = gas_price_chain_height.is_none()
let gas_price_roll_backed = gas_price_chain_height.is_none()
|| gas_price_chain_height.expect("We checked height before")
== target_block_height;

if on_chain_height == target_block_height
&& off_chain_height == target_block_height
&& gas_price_rollbacked
&& gas_price_roll_backed
{
break;
}
Expand Down

0 comments on commit 561db96

Please sign in to comment.