From 660ec50574c6defc6f716965887add9913895f11 Mon Sep 17 00:00:00 2001 From: Artem <48246993+quertc@users.noreply.github.com> Date: Fri, 26 Jul 2024 16:18:42 +0300 Subject: [PATCH] fix: --syncmode is empty string OP_GETH_SYNCMODE in .env file is set but is empty string. Condition is never met. --- scripts/start-op-geth.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/start-op-geth.sh b/scripts/start-op-geth.sh index 021f8ea..e623e9b 100755 --- a/scripts/start-op-geth.sh +++ b/scripts/start-op-geth.sh @@ -21,7 +21,7 @@ if [ -n "${IS_CUSTOM_CHAIN+x}" ]; then fi # Determine syncmode based on NODE_TYPE -if [ -z "${OP_GETH__SYNCMODE+x}" ]; then +if [ -z "$OP_GETH__SYNCMODE" ]; then if [ "$NODE_TYPE" = "full" ]; then export OP_GETH__SYNCMODE="snap" else