pub fn undelegate_account<'a, 'info>(
delegated_account: &'a AccountInfo<'info>,
owner_program: &Pubkey,
buffer: &'a AccountInfo<'info>,
payer: &'a AccountInfo<'info>,
system_program: &'a AccountInfo<'info>,
account_signer_seeds: Vec<Vec<u8>>,
) -> Result<(), ProgramError>Expand description
Undelegate an account