Function solana_sdk::loader_v4::truncate

source ·
pub fn truncate(
    program_address: &Pubkey,
    authority: &Pubkey,
    new_size: u32,
    recipient_address: &Pubkey
) -> Instruction
Expand description

Returns the instructions required to set the length of the program account.