Add solana-close-vote-account to CLI (#19756)

This commit is contained in:
Drew Taylor
2021-09-13 08:13:59 -07:00
committed by GitHub
parent 4e7a100705
commit 2a29072019
4 changed files with 211 additions and 3 deletions

View File

@@ -210,3 +210,10 @@ migration.
### Vote Account Authorized Withdrawer
No special handling is required. Use the `solana vote-authorize-withdrawer` command as needed.
## Close a Vote Account
A vote account can be closed with the
[close-vote-account](../cli/usage.md#solana-close-vote-account) command.
Closing a vote account withdraws all remaining SOL funds to a supplied recipient address and renders it invalid as a vote account.
It is not possible to close a vote account with active stake.