From 34115c8f6371e9de5d686eb7bf9427b39838514d Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Fri, 27 Jan 2023 12:03:34 +0100 Subject: [PATCH] params: fix timestamp display in fork banner (#26553) --- params/config.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/params/config.go b/params/config.go index aac4392301..3196a31de0 100644 --- a/params/config.go +++ b/params/config.go @@ -591,13 +591,13 @@ func (c *ChainConfig) Description() string { // Create a list of forks post-merge banner += "Post-Merge hard forks (timestamp based):\n" if c.ShanghaiTime != nil { - banner += fmt.Sprintf(" - Shanghai: @%-10v (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/shanghai.md)\n", c.ShanghaiTime) + banner += fmt.Sprintf(" - Shanghai: @%-10v (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/shanghai.md)\n", *c.ShanghaiTime) } if c.CancunTime != nil { - banner += fmt.Sprintf(" - Cancun: @%-10v\n", c.CancunTime) + banner += fmt.Sprintf(" - Cancun: @%-10v\n", *c.CancunTime) } if c.PragueTime != nil { - banner += fmt.Sprintf(" - Prague: @%-10v\n", c.PragueTime) + banner += fmt.Sprintf(" - Prague: @%-10v\n", *c.PragueTime) } return banner }