mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-20 11:46:44 +00:00
params: happy lint, happy life
This commit is contained in:
parent
3712b19147
commit
9c55c647a0
1 changed files with 0 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue