Function transfer_all_lamports_from_pda

Source
pub fn transfer_all_lamports_from_pda<'info>(
    from_pda: &AccountInfo<'info>,
    to: &AccountInfo<'info>,
) -> Result<()>
Expand description

Transfers all lamports from a PDA (except for rent) to a destination account.