Skip to content

Commit

Permalink
chore(bolt-sidecar): fix more lints
Browse files Browse the repository at this point in the history
  • Loading branch information
estensen committed Nov 27, 2024
1 parent b56c70e commit dc87ba3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bolt-sidecar/src/builder/payload_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,12 +145,12 @@ impl FallbackPayloadBuilder {
latest_block.header.gas_limit,
latest_block.header.base_fee_per_gas.unwrap_or_default(),
BaseFeeParams::ethereum(),
) as u64;
);

let excess_blob_gas = calc_excess_blob_gas(
latest_block.header.excess_blob_gas.unwrap_or_default(),
latest_block.header.blob_gas_used.unwrap_or_default(),
) as u64;
);

let blob_gas_used =
transactions.iter().fold(0, |acc, tx| acc + tx.blob_gas_used().unwrap_or_default());
Expand Down

0 comments on commit dc87ba3

Please sign in to comment.