Update 0g.sh
This commit is contained in:
parent
98ee8948d9
commit
65c9370819
4
0g.sh
4
0g.sh
@ -229,8 +229,8 @@ cd run
|
|||||||
|
|
||||||
read -p "请输入你想导入的EVM钱包私钥,不要有0x: " minerkey
|
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 = \"<hex64_without_0x_prefix>\"/miner_id = \"$(openssl rand -hex 32)\"/" config.toml
|
||||||
sed -i "s/# miner_key = \"\"/miner_key = \"$minerkey\"/" config.toml
|
sed -i "s/miner_key = \"\"/miner_key = \"$minerkey\"/" config.toml
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user