From 2ecb7b8113c43ce37d1f71f628667f7588f2daf9 Mon Sep 17 00:00:00 2001 From: smeb y <48400087+a3165458@users.noreply.github.com> Date: Wed, 12 Jun 2024 16:19:40 +0800 Subject: [PATCH] Update 0g.sh --- 0g.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/0g.sh b/0g.sh index 89e51b6..d3063fb 100644 --- a/0g.sh +++ b/0g.sh @@ -207,7 +207,7 @@ function install_storage_node() { # 克隆仓库 -git clone -b v0.2.0 https://github.com/0glabs/0g-storage-node.git +git clone -b v0.3.0 https://github.com/0glabs/0g-storage-node.git #进入对应目录构建 cd 0g-storage-node @@ -226,8 +226,8 @@ sed -i "s/miner_key = \"\"/miner_key = \"$minerkey\"/" config.toml screen -dmS zgs_node_session ../target/release/zgs_node --config config.toml -echo '====================== 安装完成 ===========================' -echo '===进入对应路径:/0g-storage-node/run/log,使用tail -f logs文件名,查看logs 即可========================' +echo '====================== 安装完成,使用screen命令查询即可 ===========================' + }