Use correct --url (#10284) (#10287)

automerge
This commit is contained in:
mergify[bot]
2020-05-27 22:12:47 -07:00
committed by GitHub
parent 2d25227d0a
commit a70f31b3da

View File

@ -19,7 +19,7 @@ while [[ ! -f config/run/init-completed ]]; do
fi
done
while [[ $($solana_cli slot --commitment recent) -eq 0 ]]; do
while [[ $($solana_cli --url http://localhost:8899 slot --commitment recent) -eq 0 ]]; do
sleep 1
done
curl -X POST -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","id":1, "method":"validatorExit"}' http://localhost:8899