From c6e4563cac8156b8631ffa31cbae4e38fbcded2c Mon Sep 17 00:00:00 2001 From: MiniFrenchBread <103425574+MiniFrenchBread@users.noreply.github.com> Date: Fri, 7 Jun 2024 13:35:36 +0800 Subject: [PATCH] fix: localtestnet.sh --- localtestnet.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/localtestnet.sh b/localtestnet.sh index 33846044..189ec3b2 100755 --- a/localtestnet.sh +++ b/localtestnet.sh @@ -24,7 +24,9 @@ DATA=~/.0gchain # remove any old state and config rm -rf $DATA -BINARY=./.build/0gchaind +OS_FAMILY=$(uname -s) +NATIVE_GO_OS=$(echo $OS_FAMILY | tr '[:upper:]' '[:lower:]') +BINARY=./out/$NATIVE_GO_OS/0gchaind # Create new data directory, overwriting any that alread existed chainID="zgchain_8888-1"