Skip to content

Commit

Permalink
fix: revise comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sunny2022da committed May 16, 2023
1 parent 0f51635 commit 6b3a3fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions params/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -574,12 +574,12 @@ func (c *ChainConfig) IsOnPlato(num *big.Int) bool {
return configNumEqual(c.PlatoBlock, num)
}

// IsHertz returns whether num is either equal to the EIPs of Berlin block.
// IsHertz returns whether num is either equal to the block of enabling Berlin EIPs or greater.
func (c *ChainConfig) IsHertz(num *big.Int) bool {
return isForked(c.HertzBlock, num)
}

// IsOnHertz returns whether num is equal to the EIPs of Berlin fork block.
// IsOnHertz returns whether num is equal to the fork block of enabling Berlin EIPs.
func (c *ChainConfig) IsOnHertz(num *big.Int) bool {
return configNumEqual(c.HertzBlock, num)
}
Expand Down

0 comments on commit 6b3a3fe

Please sign in to comment.