Function set_program_length

Source
pub fn set_program_length(
    program_address: &Pubkey,
    authority: &Pubkey,
    new_size: u32,
    recipient_address: &Pubkey,
) -> Instruction
Available on crate feature bincode only.
Expand description

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