mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-11 14:33:52 +00:00
add checkpoint delay
This commit is contained in:
parent
2543e974ee
commit
278f7e7239
1 changed files with 5 additions and 0 deletions
|
|
@ -23,6 +23,11 @@ if (( $balance <= $balanceInit )); then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
delayCheckpoint=300
|
||||||
|
|
||||||
|
echo "Wait ${delayCheckpoint} seconds for checkpoint..."
|
||||||
|
sleep $delayCheckpoint
|
||||||
|
|
||||||
checkpointID=$(curl -sL http://localhost:1317/checkpoints/latest | jq .result.id)
|
checkpointID=$(curl -sL http://localhost:1317/checkpoints/latest | jq .result.id)
|
||||||
|
|
||||||
if [ $checkpointID == "null" ]; then
|
if [ $checkpointID == "null" ]; then
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue