Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
kstepanovdev committed Aug 6, 2024
1 parent 4e94dfe commit 03459b9
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ pub struct CloseVoter<'info> {
/// Closes the voter account, transfers all funds from token accounts and closes vaults.
/// Only accounts with no remaining lockups can be closed.
/// remaining_accounts: All voter vaults followed by target token accounts, in order.
pub fn close_voter<'info>(
ctx: Context<'_, '_, '_, 'info, CloseVoter<'info>>,
) -> Result<()> {
pub fn close_voter<'info>(ctx: Context<'_, '_, '_, 'info, CloseVoter<'info>>) -> Result<()> {
let registrar = ctx.accounts.registrar.load()?;

require!(
Expand Down

0 comments on commit 03459b9

Please sign in to comment.