diff --git a/op-lisk-sepolia.after-start b/op-lisk-sepolia.after-start index 36cccdad..805f0c75 100755 --- a/op-lisk-sepolia.after-start +++ b/op-lisk-sepolia.after-start @@ -7,6 +7,8 @@ echo "running in $BASEPATH" target_file="op-lisk-sepolia-node-$(date +'%Y-%m-%d-%H-%M-%S').peers" +echo "wait 10 seconds for the node to come online" +sleep 10 newest_file=$(ls -1 /backup/op-lisk-sepolia-node-*.peers 2>/dev/null | sort | tail -n 1)