Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejka committed Oct 21, 2024
1 parent 793d7ab commit 1ae0f0b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/consensus/src/validation/timestamp.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,7 @@ pub fn validate_timestamp(median_time_past: u32, block_time: u32) -> Result<(),
Result::Ok(())
} else {
Result::Err(
format!(
"Median time past: {} >= block's timestamp: {}.",
median_time_past,
block_time
)
format!("Median time past: {} >= block's timestamp: {}.", median_time_past, block_time)
)
}
}
Expand Down

0 comments on commit 1ae0f0b

Please sign in to comment.