solana_program::loader_v4

Function truncate_uninitialized

Source
pub fn truncate_uninitialized(
    program_address: &Pubkey,
    authority: &Pubkey,
    new_size: u32,
    recipient_address: &Pubkey,
) -> Instruction
Expand description

Returns the instructions required to set the length of an uninitialized program account. This instruction will require the program account to also sign the transaction.