marinade-finance/liquid-staking-program

Why transfer_from cannot be a PDA?

yurushao opened this issue · 0 comments

Hi there,

I was curious why there's a constraint on transfer_from account that the owner must be a system program. This means PDA won't work. Thanks.

#[account(
mut,
owner = system_program::ID
)]
pub transfer_from: Signer<'info>,