diff --git a/src/system_program.rs b/src/system_program.rs index 6e487f4b2f..829e1f0563 100644 --- a/src/system_program.rs +++ b/src/system_program.rs @@ -4,7 +4,7 @@ use bincode::deserialize; use program::ProgramError; use solana_sdk::account::Account; use solana_sdk::pubkey::Pubkey; -use solana_sdk::system_instruction::SystemInstruction; +use solana_sdk::system_instruction::{SystemInstruction, SYSTEM_PROGRAM_ID}; use solana_sdk::transaction::Transaction; use std; @@ -24,8 +24,6 @@ impl std::error::Error for Error {} pub type Result = std::result::Result; -pub const SYSTEM_PROGRAM_ID: [u8; 32] = [0u8; 32]; - pub fn check_id(program_id: &Pubkey) -> bool { program_id.as_ref() == SYSTEM_PROGRAM_ID }