Skip to content

Commit ec6a778

Browse files
author
Roberto Bayardo
authored
change ws/http substitution to first occurrence only (#145)
1 parent 343455c commit ec6a778

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

op-node-entrypoint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if [[ -z "$OP_NODE_NETWORK" ]]; then
77
fi
88

99
# wait until local geth comes up (authed so will return 401 without token)
10-
until [ "$(curl -s -w '%{http_code}' -o /dev/null "${OP_NODE_L2_ENGINE_RPC//ws/http}")" -eq 401 ]; do
10+
until [ "$(curl -s -w '%{http_code}' -o /dev/null "${OP_NODE_L2_ENGINE_RPC/ws/http}")" -eq 401 ]; do
1111
echo "waiting for geth to be ready"
1212
sleep 5
1313
done

0 commit comments

Comments
 (0)