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

@ -5,7 +5,7 @@ pub mod payment_plan;
use solana_sdk::pubkey::Pubkey;
pub const BUDGET_PROGRAM_ID: [u8; 32] = [
const BUDGET_PROGRAM_ID: [u8; 32] = [
129, 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

@ -4,7 +4,7 @@ pub mod rewards_transaction;
use solana_sdk::pubkey::Pubkey;
pub const REWARDS_PROGRAM_ID: [u8; 32] = [
const REWARDS_PROGRAM_ID: [u8; 32] = [
133, 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

@ -4,7 +4,7 @@ pub mod vote_transaction;
use solana_sdk::pubkey::Pubkey;
pub const VOTE_PROGRAM_ID: [u8; 32] = [
const VOTE_PROGRAM_ID: [u8; 32] = [
132, 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 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)