This commit is contained in:
Greg Fitzgerald
2019-03-02 18:17:17 -07:00
committed by Grimes
parent a9a7fc56eb
commit 9c3e7e40cf
7 changed files with 7 additions and 7 deletions

View File

@ -1,6 +1,6 @@
use crate::pubkey::Pubkey;
pub const BPF_LOADER_PROGRAM_ID: [u8; 32] = [
const BPF_LOADER_PROGRAM_ID: [u8; 32] = [
128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0,
];

View File

@ -1,7 +1,7 @@
use crate::account::Account;
use crate::pubkey::Pubkey;
pub const NATIVE_LOADER_PROGRAM_ID: [u8; 32] = [
const NATIVE_LOADER_PROGRAM_ID: [u8; 32] = [
1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
];

View File

@ -61,7 +61,7 @@ pub enum StorageProgram {
},
}
pub const STORAGE_PROGRAM_ID: [u8; 32] = [
const STORAGE_PROGRAM_ID: [u8; 32] = [
130, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0,
];

View File

@ -1,6 +1,6 @@
use crate::pubkey::Pubkey;
pub const SYSTEM_PROGRAM_ID: [u8; 32] = [0u8; 32];
const SYSTEM_PROGRAM_ID: [u8; 32] = [0u8; 32];
pub fn id() -> Pubkey {
Pubkey::new(&SYSTEM_PROGRAM_ID)