fix the filename

This commit is contained in:
Sebastian
2023-04-01 11:36:41 +02:00
parent 158dbc8235
commit 753b3ba30b

View File

@@ -12,7 +12,7 @@ then
wget --tries=0 -O - "${SNAPSHOT_URL}" | tar -xz --strip-components=1 -C ${FANTOM_HOME}/ && touch ${FANTOM_HOME}/bootstrapped wget --tries=0 -O - "${SNAPSHOT_URL}" | tar -xz --strip-components=1 -C ${FANTOM_HOME}/ && touch ${FANTOM_HOME}/bootstrapped
fi fi
if [ ! -f "$FANTOM_HOME/mainnet.g" ]; if [ ! -f "$FANTOM_HOME/mainnet-5577-full-mpt.g" ];
then then
cd $FANTOM_HOME cd $FANTOM_HOME
echo "downloading launch genesis file" echo "downloading launch genesis file"
@@ -20,10 +20,10 @@ then
fi fi
opera \ opera \
--genesis=/datadir/mainnet-5577-full-mpt.g \ --genesis=$FANTOM_HOME/mainnet-5577-full-mpt.g \
--port=5050 \ --port=5050 \
--maxpeers=200 \ --maxpeers=200 \
--datadir=/datadir \ --datadir=$FANTOM_HOME \
--http \ --http \
--http.addr=0.0.0.0 \ --http.addr=0.0.0.0 \
--http.port=18545 \ --http.port=18545 \