@@ -543,28 +543,28 @@ ensure_accounts_are_offline() {
543
543
return
544
544
fi
545
545
546
- if [[ ${container_id} == " " ]]; then
547
- echo " Skipping account offline check as no existing Voi Swarm container could be found."
548
- return
549
- fi
550
-
551
- display_banner " Migrating to new network. Ensuring all accounts are offline."
552
-
553
- echo " Checking if accounts are online and have a balance of 1,000 microVoi or more."
554
- echo " Accounts with a balance of 1,000 microVoi or more will be taken offline."
555
-
556
- for account in ${account_addresses} ; do
557
- local balance
558
- balance=$( get_account_balance " ${account} " )
559
- account_status=$( execute_docker_command " /node/bin/goal account dump -a ${account} " | jq -r .onl)
546
+ # if [[ ${container_id} == "" ]]; then
547
+ # echo "Skipping account offline check as no existing Voi Swarm container could be found."
548
+ # return
549
+ # fi
560
550
561
- if [[ ${balance} -ge 1000 && ${account_status} -eq 1 ]]; then
562
- echo " "
563
- echo " Balance is ${balance} which is above 1,000 microVoi. Taking account ${account} offline."
564
- execute_interactive_docker_command " /node/bin/goal account changeonlinestatus -a ${account} -o=false"
565
- echo " Account ${account} is now offline!"
566
- fi
567
- done
551
+ # display_banner "Migrating to new network. Ensuring all accounts are offline."
552
+ #
553
+ # echo "Checking if accounts are online and have a balance of 1,000 microVoi or more."
554
+ # echo "Accounts with a balance of 1,000 microVoi or more will be taken offline."
555
+ #
556
+ # for account in ${account_addresses}; do
557
+ # local balance
558
+ # balance=$(get_account_balance "${account}")
559
+ # account_status=$(execute_docker_command "/node/bin/goal account dump -a ${account}" | jq -r .onl)
560
+ #
561
+ # if [[ ${balance} -ge 1000 && ${account_status} -eq 1 ]]; then
562
+ # echo ""
563
+ # echo "Balance is ${balance} which is above 1,000 microVoi. Taking account ${account} offline."
564
+ # execute_interactive_docker_command "/node/bin/goal account changeonlinestatus -a ${account} -o=false"
565
+ # echo "Account ${account} is now offline!"
566
+ # fi
567
+ # done
568
568
}
569
569
570
570
get_participation_key_id_from_vote_key () {
0 commit comments