params: happy lint, happy life

This commit is contained in:
MariusVanDerWijden 2025-12-08 23:02:06 +01:00
parent 3712b19147
commit 9c55c647a0

View file

@ -1385,10 +1385,6 @@ type Rules struct {
// Rules ensures c's ChainID is not nil.
func (c *ChainConfig) Rules(num *big.Int, isMerge bool, timestamp uint64) Rules {
chainID := c.ChainID
if chainID == nil {
chainID = new(big.Int)
}
// disallow setting Merge out of order
isMerge = isMerge && c.IsLondon(num)
isVerkle := isMerge && c.IsVerkle(num, timestamp)