try again

This commit is contained in:
squidbear
2025-03-29 07:53:49 +01:00
parent 97384d28db
commit 48ad1fa0d5

View File

@@ -84,7 +84,7 @@ fi
#cd "$CONFIG_DIR"
while curl -s -X POST --data '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":1}' -H "Content-Type: application/json" "$L2_RPC" | grep -q '"result":true'; do
while curl -s -X POST --data '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":1}' -H "Content-Type: application/json" "$L2_RPC" | grep -q '"result":false'; do
echo "Waiting for L2 to finish syncing..."
sleep 10
done