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