Function mpl_utils::resize_or_reallocate_account_raw
source · [−]pub fn resize_or_reallocate_account_raw<'a>(
target_account: &AccountInfo<'a>,
funding_account: &AccountInfo<'a>,
system_program: &AccountInfo<'a>,
new_size: usize
) -> ProgramResult
Expand description
Resize an account using realloc, lifted from Solana Cookbook