mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 18:02:24 +00:00
params: fix fork ordering
This commit is contained in:
parent
6fa45265bd
commit
adcb6753ac
1 changed files with 2 additions and 2 deletions
|
|
@ -758,9 +758,9 @@ func (c *ChainConfig) LatestFork(num *big.Int, time uint64) forks.Fork {
|
||||||
return forks.Byzantium
|
return forks.Byzantium
|
||||||
case c.IsEIP158(num):
|
case c.IsEIP158(num):
|
||||||
return forks.SpuriousDragon
|
return forks.SpuriousDragon
|
||||||
case c.IsEIP155(num):
|
|
||||||
return forks.TangerineWhistle
|
|
||||||
case c.IsEIP150(num):
|
case c.IsEIP150(num):
|
||||||
|
return forks.TangerineWhistle
|
||||||
|
case c.IsDAOFork(num):
|
||||||
return forks.DAO
|
return forks.DAO
|
||||||
case c.IsHomestead(num):
|
case c.IsHomestead(num):
|
||||||
return forks.Homestead
|
return forks.Homestead
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue