solana_sdk::sysvar::instructions

Function store_current_index

source
pub fn store_current_index(data: &mut [u8], instruction_index: u16)
Expand description

Store the current Instruction’s index in the instructions sysvar data.