fix: localtestnet.sh

This commit is contained in:
MiniFrenchBread 2024-06-07 13:35:36 +08:00 committed by 0g-wh
parent 7d4828f415
commit c6e4563cac

View File

@ -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"