This commit is contained in:
Jack May
2020-04-18 22:39:08 -07:00
committed by GitHub
parent 65a9658b13
commit d08517db8c
3 changed files with 15 additions and 11 deletions

View File

@ -170,13 +170,11 @@ pub struct MessageProcessor {
}
impl Default for MessageProcessor {
fn default() -> Self {
let instruction_processors: Vec<(Pubkey, ProcessInstruction)> = vec![(
system_program::id(),
system_instruction_processor::process_instruction,
)];
Self {
instruction_processors,
instruction_processors: vec![(
system_program::id(),
system_instruction_processor::process_instruction,
)],
native_loader: NativeLoader::default(),
}
}