try again
This commit is contained in:
@@ -84,7 +84,7 @@ fi
|
|||||||
|
|
||||||
#cd "$CONFIG_DIR"
|
#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..."
|
echo "Waiting for L2 to finish syncing..."
|
||||||
sleep 10
|
sleep 10
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user