Skip to content

Commit c162393

Browse files
committed
Update minimum req for going online
1 parent 96b0be8 commit c162393

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

install.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -362,16 +362,16 @@ get_account_balance() {
362362
echo "$balance"
363363
}
364364
365-
busy_wait_until_balance_is_1_voi() {
365+
busy_wait_until_balance_is_sufficient() {
366366
local balance
367-
display_banner "Waiting for balance (account: ${account_addr}) to be 1 Voi"
367+
display_banner "Waiting for balance (account: ${account_addr}) to be 0.001 Voi"
368368
balance=$(get_account_balance "${account_addr}")
369-
while [[ ${balance} -lt "1000000" ]]; do
370-
echo "Waiting for balance to be 1 Voi at minimum"
369+
while [[ ${balance} -lt "1000" ]]; do
370+
echo "Waiting for balance to be 0.001 Voi at minimum"
371371
balance=$(get_account_balance "${account_addr}")
372372
sleep 10
373373
done
374-
display_banner "Account has balance of 1 Voi or greater!"
374+
display_banner "Account has balance of 0.001 Voi or greater!"
375375
}
376376
377377
get_account_info() {
@@ -680,7 +680,7 @@ join_as_new_user() {
680680

681681
generate_participation_key
682682

683-
busy_wait_until_balance_is_1_voi
683+
busy_wait_until_balance_is_sufficient
684684

685685
change_account_online_status "${account}"
686686

0 commit comments

Comments
 (0)