diff --git a/timestamp.sh b/timestamp.sh index 7ca282ae..15de97f1 100755 --- a/timestamp.sh +++ b/timestamp.sh @@ -27,7 +27,7 @@ for path in $pathlist; do done if $include; then - RPC_URL="$PROTO://$DOMAIN$path" + RPC_URL="$PROTO://$DOMAIN/$path" response_file=$(mktemp) http_status_code=$(curl -L --ipv4 -m 1 -s -X POST -w "%{http_code}" -o "$response_file" -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["latest", false],"id":1}' $RPC_URL)