mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
i8ntool: fix a typo
This commit is contained in:
parent
6bb13e8e2b
commit
cd9a73490e
1 changed files with 1 additions and 1 deletions
|
|
@ -217,7 +217,7 @@ func applyLondonChecks(env *stEnv, chainConfig *params.ChainConfig) error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
if env.ParentBaseFee == nil || env.Number == 0 {
|
if env.ParentBaseFee == nil || env.Number == 0 {
|
||||||
return NewError(ErrorConfig, errors.New("EIP-1559 config but missing 'currentBaseFee' in env section"))
|
return NewError(ErrorConfig, errors.New("EIP-1559 config but missing 'ParentBaseFee' in env section"))
|
||||||
}
|
}
|
||||||
env.BaseFee = eip1559.CalcBaseFee(chainConfig, &types.Header{
|
env.BaseFee = eip1559.CalcBaseFee(chainConfig, &types.Header{
|
||||||
Number: new(big.Int).SetUint64(env.Number - 1),
|
Number: new(big.Int).SetUint64(env.Number - 1),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue