From 3bacdc87c4760da2f7e07fad383a572ebe387f3e Mon Sep 17 00:00:00 2001 From: qf3l3k <36550920+qf3l3k@users.noreply.github.com> Date: Tue, 10 Oct 2023 20:18:18 +0200 Subject: [PATCH] Update 4_mainnet.md Changed default node folder from .teritori to .canine --- docs/nodes/nodes/4_mainnet.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/nodes/nodes/4_mainnet.md b/docs/nodes/nodes/4_mainnet.md index 2f459b6..655bc54 100644 --- a/docs/nodes/nodes/4_mainnet.md +++ b/docs/nodes/nodes/4_mainnet.md @@ -127,13 +127,13 @@ LATEST_HEIGHT=$(curl -s $STATE_SYNC_RPC/block | jq -r .result.block.header.heigh SYNC_BLOCK_HEIGHT=$(($LATEST_HEIGHT - 3000)) SYNC_BLOCK_HASH=$(curl -s "$STATE_SYNC_RPC/block?height=$SYNC_BLOCK_HEIGHT" | jq -r .result.block_id.hash) -sed -i.bak -e "s|^enable *=.*|enable = true|" $HOME/.teritorid/config/config.toml +sed -i.bak -e "s|^enable *=.*|enable = true|" $HOME/.canine/config/config.toml sed -i.bak -e "s|^rpc_servers *=.*|rpc_servers = \"$STATE_SYNC_RPC,$STATE_SYNC_RPC\"|" \ - $HOME/.teritorid/config/config.toml + $HOME/.canine/config/config.toml sed -i.bak -e "s|^trust_height *=.*|trust_height = $SYNC_BLOCK_HEIGHT|" \ - $HOME/.teritorid/config/config.toml + $HOME/.canine/config/config.toml sed -i.bak -e "s|^trust_hash *=.*|trust_hash = \"$SYNC_BLOCK_HASH\"|" \ - $HOME/.teritorid/config/config.toml + $HOME/.canine/config/config.toml ``` When you state sync, you can start with the latest version of `canined`.