From 570e3588148108fe7c5d74f689730a8358afb308 Mon Sep 17 00:00:00 2001 From: smeb y <48400087+a3165458@users.noreply.github.com> Date: Thu, 9 May 2024 12:16:23 +0800 Subject: [PATCH] Update 0g.sh --- 0g.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/0g.sh b/0g.sh index 8a4b210..f2bfaf3 100644 --- a/0g.sh +++ b/0g.sh @@ -277,9 +277,9 @@ screen -dmS storage_kv ../target/release/zgs_kv --config config.toml # 给自己地址验证者质押 function delegate_self_validator() { -read -p "请输入质押代币数量(单位为a0gai,比如你有1个a0gai,留点水给自己,输入0.9回车就行): " math +read -p "请输入质押代币数量(单位为ua0gai,比如你有1000000个ua0gai,留点水给自己,输入900000回车就行): " math read -p "请输入钱包名称: " wallet_name -0gchaind tx staking delegate $(0gchaind keys show $wallet_name --bech val -a) ${math}a0gi --from $wallet_name --gas=auto --gas-adjustment=1.4 -y +0gchaind tx staking delegate $(0gchaind keys show $wallet_name --bech val -a) ${math}ua0gi --from $wallet_name --gas=auto --gas-adjustment=1.4 -y }