mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-12 09:51:36 +00:00
tests: fix invalid eip parse error to show token not zero
This commit is contained in:
parent
eb67d61933
commit
393670ce26
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 {
|
||||
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 {
|
||||
if !vm.ValidEip(eipNum) {
|
||||
return nil, nil, fmt.Errorf("syntax error, invalid eip number %v", eipNum)
|
||||
|
|
|
|||
Loading…
Reference in a new issue