Update Artela.sh

This commit is contained in:
smeb y 2024-06-26 00:26:23 +08:00 committed by GitHub
parent ca3f7c1e0e
commit e232f27923
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -119,7 +119,7 @@ function install_node() {
# 下载快照
artelad tendermint unsafe-reset-all --home $HOME/.artelad --keep-addr-book
curl -L https://snapshots.dadunode.com/artela/artela_latest_tar.lz4 | tar -I lz4 -xf - -C $HOME/.artelad/data
curl https://snapshots.spacestake.tech/testnet-snapshots/artela/latest.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.artelad
mv $HOME/.artelad/priv_validator_state.json.backup $HOME/.artelad/data/priv_validator_state.json
# 使用 PM2 启动节点进程