Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Nazarii Denha <dengaaa2002@gmail.com>
  • Loading branch information
Thegaram and NazariiDenha authored Mar 26, 2024
1 parent c5d381b commit d4fc38c
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 @@ -862,10 +862,10 @@ func (c *ChainConfig) checkCompatible(newcfg *ChainConfig, head *big.Int) *Confi
return newCompatError("Shanghai fork block", c.ShanghaiBlock, newcfg.ShanghaiBlock)
}
if isForkIncompatible(c.BernoulliBlock, newcfg.BernoulliBlock, head) {
return newCompatError("Hard fork block", c.BernoulliBlock, newcfg.BernoulliBlock)
return newCompatError("Bernoulli fork block", c.BernoulliBlock, newcfg.BernoulliBlock)
}
if isForkIncompatible(c.CurieBlock, newcfg.CurieBlock, head) {
return newCompatError("Hard fork block", c.CurieBlock, newcfg.CurieBlock)
return newCompatError("Curie fork block", c.CurieBlock, newcfg.CurieBlock)
}
return nil
}
Expand Down

0 comments on commit d4fc38c

Please sign in to comment.