mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
params: add prague to LatestForks func
This commit is contained in:
parent
9a905b5984
commit
626bc71859
1 changed files with 2 additions and 0 deletions
|
|
@ -757,6 +757,8 @@ func (c *ChainConfig) LatestFork(time uint64) forks.Fork {
|
||||||
london := c.LondonBlock
|
london := c.LondonBlock
|
||||||
|
|
||||||
switch {
|
switch {
|
||||||
|
case c.IsPrague(london, time):
|
||||||
|
return forks.Prague
|
||||||
case c.IsCancun(london, time):
|
case c.IsCancun(london, time):
|
||||||
return forks.Cancun
|
return forks.Cancun
|
||||||
case c.IsShanghai(london, time):
|
case c.IsShanghai(london, time):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue