fix: localtestnet.sh

This commit is contained in:
MiniFrenchBread 2024-06-07 13:35:36 +08:00 committed by Solovyov1796
parent bbcecf3537
commit 26c4bee7c3

View File

@ -24,7 +24,9 @@ DATA=~/.0gchain
# remove any old state and config # remove any old state and config
rm -rf $DATA 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 # Create new data directory, overwriting any that alread existed
chainID="zgchain_8888-1" chainID="zgchain_8888-1"