fix
This commit is contained in:
@@ -98,9 +98,11 @@ if [ -n "$MONIKER" ] && [ -f "$CONFIG_DIR/config.toml" ]; then
|
|||||||
sed -i "s/^moniker = \".*\"/moniker = \"$MONIKER\"/" "$CONFIG_DIR/config.toml"
|
sed -i "s/^moniker = \".*\"/moniker = \"$MONIKER\"/" "$CONFIG_DIR/config.toml"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -e /root/.beacond/config/priv_validator_state.json ]; then
|
||||||
if [ ! -e /root/.beacond/data/priv_validator_state.json ]; then
|
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
|
cp /root/.beacond/config/priv_validator_state.json /root/.beacond/data/priv_validator_state.json
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
#echo "$CONFIG_DIR/jwt.hex: $(cat $CONFIG_DIR/jwt.hex)"
|
#echo "$CONFIG_DIR/jwt.hex: $(cat $CONFIG_DIR/jwt.hex)"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user