Skip to content

Commit

Permalink
solana: cleanup after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsaigle committed Mar 19, 2024
1 parent 8f6e666 commit 0cc06b2
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,6 @@ pub fn transfer_burn(ctx: Context<TransferBurn>, args: TransferArgs) -> Result<(

let before = accs.common.from.amount;

// Missing ownership checks are OK here. These accounts are verified via
// implicit constraints in `InterfaceAccount`, `TokenAccount` and `Mint` defined above.
token_interface::burn(
CpiContext::new_with_signer(
accs.common.token_program.to_account_info(),
Expand Down Expand Up @@ -248,8 +246,6 @@ pub fn transfer_lock(ctx: Context<TransferLock>, args: TransferArgs) -> Result<(

let before = accs.custody.amount;

// Missing ownership checks are OK here. These accounts are verified via
// implicit constraints in `InterfaceAccount`, `TokenAccount` and `Mint` defined above.
token_interface::transfer_checked(
CpiContext::new_with_signer(
accs.common.token_program.to_account_info(),
Expand Down

0 comments on commit 0cc06b2

Please sign in to comment.