We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9124a5c commit 86e563aCopy full SHA for 86e563a
1 file changed
reth/reth-entrypoint
@@ -12,13 +12,13 @@ P2P_PORT="${P2P_PORT:-30303}"
12
ADDITIONAL_ARGS=""
13
NODE_TYPE="${NODE_TYPE:-vanilla}"
14
15
-if [[ -z "$RETH_CHAIN" ]]; then
+if [[ -z "${RETH_CHAIN:-}" ]]; then
16
echo "expected RETH_CHAIN to be set" 1>&2
17
exit 1
18
fi
19
20
# Add Flashblocks support for base mode
21
-if [[ "$NODE_TYPE" == "base" && -n "$RETH_FB_WEBSOCKET_URL" ]]; then
+if [[ "$NODE_TYPE" == "base" && -n "${RETH_FB_WEBSOCKET_URL:-}" ]]; then
22
ADDITIONAL_ARGS="--websocket-url=$RETH_FB_WEBSOCKET_URL"
23
echo "Enabling Flashblocks support with endpoint: $RETH_FB_WEBSOCKET_URL"
24
0 commit comments