From 753b3ba30bc77e8a9cf1cadc17471b56ecdf0d4e Mon Sep 17 00:00:00 2001 From: Sebastian <379651+czarly@users.noreply.github.com> Date: Sat, 1 Apr 2023 11:36:41 +0200 Subject: [PATCH] fix the filename --- fantom/scripts/entrypoint.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fantom/scripts/entrypoint.sh b/fantom/scripts/entrypoint.sh index eb576ce9..d277c7a2 100644 --- a/fantom/scripts/entrypoint.sh +++ b/fantom/scripts/entrypoint.sh @@ -12,7 +12,7 @@ then wget --tries=0 -O - "${SNAPSHOT_URL}" | tar -xz --strip-components=1 -C ${FANTOM_HOME}/ && touch ${FANTOM_HOME}/bootstrapped fi -if [ ! -f "$FANTOM_HOME/mainnet.g" ]; +if [ ! -f "$FANTOM_HOME/mainnet-5577-full-mpt.g" ]; then cd $FANTOM_HOME echo "downloading launch genesis file" @@ -20,10 +20,10 @@ then fi opera \ - --genesis=/datadir/mainnet-5577-full-mpt.g \ + --genesis=$FANTOM_HOME/mainnet-5577-full-mpt.g \ --port=5050 \ --maxpeers=200 \ - --datadir=/datadir \ + --datadir=$FANTOM_HOME \ --http \ --http.addr=0.0.0.0 \ --http.port=18545 \