diff --git a/programs/protocol-contracts-solana/src/lib.rs b/programs/protocol-contracts-solana/src/lib.rs index d49454e..2f486a9 100644 --- a/programs/protocol-contracts-solana/src/lib.rs +++ b/programs/protocol-contracts-solana/src/lib.rs @@ -350,8 +350,9 @@ pub struct Withdraw<'info> { #[account(mut)] pub pda: Account<'info, Pda>, + /// CHECK: to account is not read so it's not dangerous #[account(mut)] - pub to: SystemAccount<'info>, + pub to: UncheckedAccount<'info>, } #[derive(Accounts)]