mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
renamed params2 to ethparams
This commit is contained in:
parent
1b4879b075
commit
76a901a77b
1 changed files with 2 additions and 2 deletions
|
|
@ -18,7 +18,7 @@ package engine
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
params2 "github.com/ethereum/go-ethereum/params"
|
||||
ethparams "github.com/ethereum/go-ethereum/params"
|
||||
"math/big"
|
||||
"slices"
|
||||
|
||||
|
|
@ -200,7 +200,7 @@ func ExecutableDataToBlock(params ExecutableData, versionedHashes []common.Hash,
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if len(params.ExtraData) > int(params2.MaximumExtraDataSize) {
|
||||
if len(params.ExtraData) > int(ethparams.MaximumExtraDataSize) {
|
||||
return nil, fmt.Errorf("invalid extradata length: %v", len(params.ExtraData))
|
||||
}
|
||||
if len(params.LogsBloom) != 256 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue