Function tiny_sdk::sysvar::instructions::load_current_index
source · pub fn load_current_index(data: &[u8]) -> u16
👎Deprecated since 1.8.0: Unsafe because the sysvar accounts address is not checked, please use <code>load_current_index_checked</code> instead
Expand description
Load the current Instruction
’s index in the currently executing
Transaction
.
data
is the instructions sysvar account data.