From 9829b7427bd64c308a7a0d0cdd4abe3fe9d1e8f6 Mon Sep 17 00:00:00 2001 From: squidbear <379651+czarly@users.noreply.github.com> Date: Sun, 30 Mar 2025 10:51:10 +0200 Subject: [PATCH] fix the nodekey --- fantom/scripts/entrypoint.opera.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fantom/scripts/entrypoint.opera.sh b/fantom/scripts/entrypoint.opera.sh index 388e789c..1ae787cb 100644 --- a/fantom/scripts/entrypoint.opera.sh +++ b/fantom/scripts/entrypoint.opera.sh @@ -31,7 +31,7 @@ fi # always make a new nodekey echo "Generating new Geth node key..." -rm "$datadir/nodekey" +rm -f "$datadir/nodekey" #openssl rand 32 | xxd -p -c 32 | tr -d '\n' > "$datadir/nodekey" exec opera --nodekey="$datadir/nodekey" --genesis="$datadir/$filename" --datadir="$datadir" "$@"