diff --git a/params/plugin_hooks.go b/params/plugin_hooks.go index 6d94e42af..b46881455 100644 --- a/params/plugin_hooks.go +++ b/params/plugin_hooks.go @@ -7,7 +7,7 @@ import ( "github.com/ethereum/go-ethereum/plugins" ) -// IsLondon returns whether num is either equal to the London fork block or greater. +// Is1559 returns whether num is either equal to the London fork block or greater, if the chain supports EIP1559 func (c *ChainConfig) Is1559(num *big.Int) bool { if plugins.DefaultPluginLoader == nil { log.Warn("Attempting is1559, but default PluginLoader has not been initialized") @@ -27,7 +27,8 @@ func PluginEIPCheck(pl *plugins.PluginLoader, eipHookName string, num *big.Int) } return fn(num), ok } -// IsLondon returns whether num is either equal to the London fork block or greater. +// IsEIP160 returns whether num is either equal to the EIP160 block or greater. +// This defaults to same as 158, but some chains do it at a different block func (c *ChainConfig) IsEIP160(num *big.Int) bool { if plugins.DefaultPluginLoader == nil { log.Warn("Attempting is160, but default PluginLoader has not been initialized")