fix: localtestnet.sh

This commit is contained in:
MiniFrenchBread 2024-06-07 13:35:36 +08:00 committed by 0g-wh
parent 482057cf9f
commit c575f8ba30

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"