Skip to content

Commit

Permalink
find correct name
Browse files Browse the repository at this point in the history
  • Loading branch information
otherview committed Feb 9, 2023
1 parent 16eb861 commit 0169a08
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion integration/eth2network/eth2_binaries.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ func EnsureBinariesExist() (string, error) {
}

// build geth
if !fileExists(path.Join(basepath, _eth2BinariesRelPath, "v"+_gethVersion)) {
if !fileExists(path.Join(basepath, _eth2BinariesRelPath, _gethFileNameVersion)) {

gethScript := path.Join(basepath, "./build_geth_binary.sh")
cmd := exec.Command("bash", gethScript, fmt.Sprintf("%s=%s", "--version", "v"+_gethVersion))
cmd.Stderr = os.Stderr
Expand Down

0 comments on commit 0169a08

Please sign in to comment.