Skip to content

Commit

Permalink
Improve readability
Browse files Browse the repository at this point in the history
  • Loading branch information
MitchTurner committed Jan 11, 2025
1 parent 356278a commit 726839b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions crates/services/gas_price_service/simulation/src/display.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,12 @@ pub fn display_results(results: SimulationResults) -> anyhow::Result<()> {
let sample_length_seconds = sample_size % MINUTES_IN_SECONDS;

println!(
"Sample size: {:?} blocks, produced over {:?} days, {:?} hours, {:?} minutes, {:?} seconds",
sample_size, sample_length_days, sample_length_hours, sample_length_minutes, sample_length_seconds
"Sample size: {:?} blocks ({:?} days, {:?} hours, {:?} minutes, {:?} seconds)",
sample_size,
sample_length_days,
sample_length_hours,
sample_length_minutes,
sample_length_seconds
);

println!("Max gas price: {:?}", max_gas_price);
Expand Down

0 comments on commit 726839b

Please sign in to comment.