solana/programs/native/noop/src/lib.rs

10 lines
272 B
Rust
Raw Normal View History

extern crate solana_program_interface;
use solana_program_interface::account::KeyedAccount;
#[no_mangle]
2018-10-10 15:17:51 -07:00
pub extern "C" fn process(infos: &mut Vec<KeyedAccount>, data: &[u8]) {
println!("noop: AccountInfos: {:#?}", infos);
println!("noop: data: {:#?}", data);
}