Skip to content

Commit

Permalink
Revert constraint checking for sender_token
Browse files Browse the repository at this point in the history
  • Loading branch information
tiendv89 committed Sep 3, 2024
1 parent ba2a8f1 commit dc83e1e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions programs/locker/src/instructions/v2/create_vesting_escrow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,7 @@ pub struct CreateVestingEscrowV2<'info> {
#[account(mut)]
pub sender: Signer<'info>,

#[account(
mut,
associated_token::mint = token_mint,
associated_token::authority = sender,
associated_token::token_program = token_program
)]
#[account(mut)]
pub sender_token: Box<InterfaceAccount<'info, TokenAccount>>,

/// CHECK: recipient account
Expand Down

0 comments on commit dc83e1e

Please sign in to comment.