Flag vote account as configured once it has been configured

This commit is contained in:
Michael Vines
2019-04-18 15:16:33 -07:00
parent cb194eaee7
commit b380bdd54f

View File

@ -154,6 +154,8 @@ setup_vote_account() {
# Fund the vote account from the node, with the node as the node_id
$solana_wallet --keypair "$node_id_path" --host "$drone_address" \
create-vote-account "$vote_id" "$node_id" $((stake - 1)) || return $?
touch "$vote_id_path".configured
fi
$solana_wallet --keypair "$node_id_path" --host "$drone_address" show-vote-account "$vote_id"