Skip to content

Commit fbf6238

Browse files
authored
params: fix misleading comments (#29684)
1 parent bc609e8 commit fbf6238

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
@@ -566,17 +566,17 @@ func (c *ChainConfig) IsShanghai(num *big.Int, time uint64) bool {
566566
return c.IsLondon(num) && isTimestampForked(c.ShanghaiTime, time)
567567
}
568568

569-
// IsCancun returns whether num is either equal to the Cancun fork time or greater.
569+
// IsCancun returns whether time is either equal to the Cancun fork time or greater.
570570
func (c *ChainConfig) IsCancun(num *big.Int, time uint64) bool {
571571
return c.IsLondon(num) && isTimestampForked(c.CancunTime, time)
572572
}
573573

574-
// IsPrague returns whether num is either equal to the Prague fork time or greater.
574+
// IsPrague returns whether time is either equal to the Prague fork time or greater.
575575
func (c *ChainConfig) IsPrague(num *big.Int, time uint64) bool {
576576
return c.IsLondon(num) && isTimestampForked(c.PragueTime, time)
577577
}
578578

579-
// IsVerkle returns whether num is either equal to the Verkle fork time or greater.
579+
// IsVerkle returns whether time is either equal to the Verkle fork time or greater.
580580
func (c *ChainConfig) IsVerkle(num *big.Int, time uint64) bool {
581581
return c.IsLondon(num) && isTimestampForked(c.VerkleTime, time)
582582
}

0 commit comments

Comments
 (0)