forked from cerc-io/plugeth
Fix comments
This commit is contained in:
parent
a6ee75999b
commit
e43bc1774d
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user