Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
bryzettler committed Jan 31, 2025
1 parent 74a38a2 commit bee0a43
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions programs/voter-stake-registry/src/instructions/withdraw_v0.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@ pub struct WithdrawV0<'info> {
pub vault: Box<Account<'info, TokenAccount>>,
pub deposit_mint: Box<Account<'info, Mint>>,
#[account(
mut,
token::mint = deposit_mint
init_if_needed,
payer = position_authority,
token::mint = mint,
token::authority = position_authority
)]
pub destination: Box<Account<'info, TokenAccount>>,

Expand Down

0 comments on commit bee0a43

Please sign in to comment.