Skip to main content

sync_native_with_rent_sysvar

Function sync_native_with_rent_sysvar 

Source
pub fn sync_native_with_rent_sysvar(
    token_program_id: &Pubkey,
    account_pubkey: &Pubkey,
) -> Result<Instruction, ProgramError>
Expand description

Creates a SyncNative instruction with the Rent sysvar account added to the accounts list.