From e4c9778db7fec70176b18f98cfd99134a45a96c0 Mon Sep 17 00:00:00 2001 From: squidbear <379651+czarly@users.noreply.github.com> Date: Mon, 31 Mar 2025 16:37:02 +0200 Subject: [PATCH] fix --- fantom/scripts/entrypoint.sonic.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fantom/scripts/entrypoint.sonic.sh b/fantom/scripts/entrypoint.sonic.sh index 3fb49d5a..49e2aa54 100644 --- a/fantom/scripts/entrypoint.sonic.sh +++ b/fantom/scripts/entrypoint.sonic.sh @@ -21,6 +21,6 @@ else fi echo "Generating new Geth node key..." -openssl rand 32 | xxd -p -c 32 | tr -d '\n' > "$datadir/nodekey" +rm -rf "$datadir/nodekey" -exec sonicd --nodekey "$datadir/nodekey" --cache "${CACHE_GB}000" --datadir "$datadir" "$@" +exec sonicd --cache "${CACHE_GB}000" --datadir "$datadir" "$@"