Skip to content

Commit

Permalink
fix binary location
Browse files Browse the repository at this point in the history
  • Loading branch information
oxarbitrage committed Sep 19, 2024
1 parent 3a7aaf7 commit b978534
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions zebra-rpc/qa/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ pip3 install pyzmq base58 toml
Running tests locally
=====================

If it is not already there please set the zebrad binary environment variable:

Make sure `zebrad` binary exists in the `../target/debug/` folder or set the binary path with:
```
export CARGO_BIN_EXE_zebrad=/path/to/zebrad
```
Expand Down
2 changes: 1 addition & 1 deletion zebra-rpc/qa/rpc-tests/test_framework/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
PORT_RANGE = 5000

def default_binary():
return os.getenv("CARGO_BIN_EXE_zebrad", "zebrad")
return os.getenv("CARGO_BIN_EXE_zebrad", os.path.join("..", "target", "debug", "zebrad"))

def zcashd_binary():
return os.getenv("ZEBRAD", default_binary())
Expand Down

0 comments on commit b978534

Please sign in to comment.