Skip to content

Commit 14dbb77

Browse files
fjlshekhirin
authored andcommitted
params: fix timestamp display in fork banner (ethereum#26553)
1 parent ee5f3ef commit 14dbb77

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

params/config.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -591,13 +591,13 @@ func (c *ChainConfig) Description() string {
591591
// Create a list of forks post-merge
592592
banner += "Post-Merge hard forks (timestamp based):\n"
593593
if c.ShanghaiTime != nil {
594-
banner += fmt.Sprintf(" - Shanghai: @%-10v (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/shanghai.md)\n", c.ShanghaiTime)
594+
banner += fmt.Sprintf(" - Shanghai: @%-10v (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/shanghai.md)\n", *c.ShanghaiTime)
595595
}
596596
if c.CancunTime != nil {
597-
banner += fmt.Sprintf(" - Cancun: @%-10v\n", c.CancunTime)
597+
banner += fmt.Sprintf(" - Cancun: @%-10v\n", *c.CancunTime)
598598
}
599599
if c.PragueTime != nil {
600-
banner += fmt.Sprintf(" - Prague: @%-10v\n", c.PragueTime)
600+
banner += fmt.Sprintf(" - Prague: @%-10v\n", *c.PragueTime)
601601
}
602602
return banner
603603
}

0 commit comments

Comments
 (0)