mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-18 12:51:39 +00:00
tests: fix invalid eip parse error (#34750)
This commit is contained in:
parent
78505e48dd
commit
8c7d61fcfe
1 changed files with 1 additions and 1 deletions
|
|
@ -173,7 +173,7 @@ func GetChainConfig(forkString string) (baseConfig *params.ChainConfig, eips []i
|
||||||
}
|
}
|
||||||
for _, eip := range eipsStrings {
|
for _, eip := range eipsStrings {
|
||||||
if eipNum, err := strconv.Atoi(eip); err != nil {
|
if eipNum, err := strconv.Atoi(eip); err != nil {
|
||||||
return nil, nil, fmt.Errorf("syntax error, invalid eip number %v", eipNum)
|
return nil, nil, fmt.Errorf("syntax error, invalid eip number %v", eip)
|
||||||
} else {
|
} else {
|
||||||
if !vm.ValidEip(eipNum) {
|
if !vm.ValidEip(eipNum) {
|
||||||
return nil, nil, fmt.Errorf("syntax error, invalid eip number %v", eipNum)
|
return nil, nil, fmt.Errorf("syntax error, invalid eip number %v", eipNum)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue