Files
solana/programs/compute-budget/src/lib.rs
Michael Vines b8837c04ec Reformat imports to a consistent style for imports
rustfmt.toml configuration:
  imports_granularity = "One"
  group_imports = "One"
2021-12-03 09:19:13 -08:00

14 lines
361 B
Rust

use {
solana_program_runtime::invoke_context::InvokeContext,
solana_sdk::instruction::InstructionError,
};
pub fn process_instruction(
_first_instruction_account: usize,
_data: &[u8],
_invoke_context: &mut InvokeContext,
) -> Result<(), InstructionError> {
// Do nothing, compute budget instructions handled by the runtime
Ok(())
}