Skip to content

Commit cd05444

Browse files
Update programs/anchor/token-swap/src/instructions/swap_exact_tokens_for_tokens.rs
Co-authored-by: ananas-block <58553958+ananas-block@users.noreply.github.com>
1 parent 96df9be commit cd05444

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

programs/anchor/token-swap/src/instructions/swap_exact_tokens_for_tokens.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,9 +331,9 @@ pub struct SwapExactTokensForTokens<'info> {
331331

332332
/// CHECK: SPL interface PDA derived by light-token: ["pool", mint_a]
333333
#[account(mut)]
334-
pub spl_interface_pda_a: UncheckedAccount<'info>,
334+
pub spl_interface_pda_a: Option<AccountInfo<'info>>,
335335

336336
/// CHECK: SPL interface PDA derived by light-token: ["pool", mint_b]
337337
#[account(mut)]
338-
pub spl_interface_pda_b: UncheckedAccount<'info>,
338+
pub spl_interface_pda_b: Option<AccountInfo<'info>>,
339339
}

0 commit comments

Comments
 (0)