From fd823c1653ec7b55a62f3dc931dca562fb43fed4 Mon Sep 17 00:00:00 2001 From: William Law Date: Fri, 31 Oct 2025 12:40:27 -0400 Subject: [PATCH] fix pruning args --- reth/reth-entrypoint | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reth/reth-entrypoint b/reth/reth-entrypoint index 0f2132ad..31e40e0f 100755 --- a/reth/reth-entrypoint +++ b/reth/reth-entrypoint @@ -33,7 +33,8 @@ else fi # Add pruning for base -if [[ "$NODE_TYPE" == "base" && -n "${RETH_PRUNING_ARGS+x}" = x ]]; then +if [[ "$NODE_TYPE" == "base" && "${RETH_PRUNING_ARGS+x}" = x ]]; then + echo "Adding pruning arguments: $RETH_PRUNING_ARGS" ADDITIONAL_ARGS="$ADDITIONAL_ARGS $RETH_PRUNING_ARGS" fi