Update 0g.sh

This commit is contained in:
smeb y 2024-05-08 13:52:03 +08:00 committed by GitHub
parent 7837b0cdeb
commit 648f6f4ec6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

2
0g.sh
View File

@ -290,7 +290,7 @@ echo '====================== 启动成功请通过screen -r zgs_node_session
# 转换ETH地址 # 转换ETH地址
function transfer_EIP() { function transfer_EIP() {
read -p "请输入你的钱包名称: " wallet_name read -p "请输入你的钱包名称: " wallet_name
echo "$(0gchaind debug addr $(0gchaind keys show $wallet_name -a) | grep hex | awk '{print $3}')" echo "0x$(0gchaind debug addr $(0gchaind keys show $wallet_name -a) | grep hex | awk '{print $3}')"
} }