From d5f324fe8f24ca2916bd667575707db3af2575ce Mon Sep 17 00:00:00 2001 From: smeb y <48400087+a3165458@users.noreply.github.com> Date: Wed, 10 Apr 2024 11:22:30 +0800 Subject: [PATCH] Update 0g.sh --- 0g.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/0g.sh b/0g.sh index a357cea..381cf75 100644 --- a/0g.sh +++ b/0g.sh @@ -71,14 +71,14 @@ function install_node() { # 配置evmosd echo 'export MONIKER="My_Node"' >> ~/.bash_profile echo 'export WALLET_NAME="wallet"' >> ~/.bash_profile - echo 'export RPC_PORT="26657"' >> ~/.bash_profile + source $HOME/.bash_profile # 获取初始文件和地址簿 cd $HOME evmosd init $MONIKER --chain-id zgtendermint_9000-1 evmosd config chain-id $CHAIN_ID - evmosd config node tcp://localhost:$RPC_PORT + evmosd config node tcp://localhost:26657 evmosd config keyring-backend os # 配置节点