mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-02-02 11:05:26 -05:00
chore: add empty line to display hardforks (#15845)
This commit is contained in:
@@ -123,7 +123,12 @@ impl core::fmt::Display for DisplayHardforks {
|
||||
f,
|
||||
)?;
|
||||
|
||||
if !self.with_merge.is_empty() {
|
||||
if self.with_merge.is_empty() {
|
||||
if !self.post_merge.is_empty() {
|
||||
// need an extra line here in case we don't have a merge block (optimism)
|
||||
writeln!(f)?;
|
||||
}
|
||||
} else {
|
||||
format("Merge hard forks", &self.with_merge, self.post_merge.is_empty(), f)?;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user