Update 0g.sh

This commit is contained in:
smeb y 2024-04-10 17:28:35 +08:00 committed by GitHub
parent 034128ae1d
commit 90298d3ff1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

4
0g.sh
View File

@ -232,15 +232,13 @@ cargo build --release
#后台运行
cd run
echo "请输入矿工的EVM钱包地址不要有0X: "
read minerid
echo "请输入矿工的EVM钱包私钥不要有0X: "
read minerkey
cat >> config.toml <<EOF
miner_key ="$minerkey"
miner_id ="$minerid"
miner_id=$(echo -n "string" | sha256sum | cut -d' ' -f1)
EOF