From 220db93c1cacff0e4c17dff6db499ca14198d804 Mon Sep 17 00:00:00 2001 From: Para Dox Date: Tue, 3 Jun 2025 20:46:17 +0700 Subject: [PATCH] ?? --- berachain/scripts/init.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/berachain/scripts/init.sh b/berachain/scripts/init.sh index 95e9f612..af015333 100644 --- a/berachain/scripts/init.sh +++ b/berachain/scripts/init.sh @@ -98,6 +98,9 @@ if [ -n "$MONIKER" ] && [ -f "$CONFIG_DIR/config.toml" ]; then sed -i "s/^moniker = \".*\"/moniker = \"$MONIKER\"/" "$CONFIG_DIR/config.toml" fi +if [ ! -e /root/.beacond/data/priv_validator_state.json ]; then + cp /root/.beacond/config/priv_validator_state.json /root/.beacond/data/priv_validator_state.json +fi #echo "$CONFIG_DIR/jwt.hex: $(cat $CONFIG_DIR/jwt.hex)"