Update 0g.sh

This commit is contained in:
smeb y 2024-04-17 11:20:36 +08:00 committed by GitHub
parent 65c9370819
commit cbe771eaec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

2
0g.sh
View File

@ -229,7 +229,7 @@ cd run
read -p "请输入你想导入的EVM钱包私钥不要有0x: " minerkey
sed -i "s/miner_id = \"<hex64_without_0x_prefix>\"/miner_id = \"$(openssl rand -hex 32)\"/" config.toml
sed -i "s/miner_id = \"\"/miner_id = \"$(openssl rand -hex 32)\"/" config.toml
sed -i "s/miner_key = \"\"/miner_key = \"$minerkey\"/" config.toml