Skip to content

Commit

Permalink
Less pub
Browse files Browse the repository at this point in the history
  • Loading branch information
garious authored and solana-grimes committed Mar 3, 2019
1 parent a9a7fc5 commit 9c3e7e4
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion programs/native/budget_api/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
];
Expand Down
2 changes: 1 addition & 1 deletion programs/native/rewards_api/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
];
Expand Down
2 changes: 1 addition & 1 deletion programs/native/vote_api/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
];
Expand Down
2 changes: 1 addition & 1 deletion sdk/src/bpf_loader.rs
Original file line number Diff line number Diff line change
@@ -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,
];
Expand Down
2 changes: 1 addition & 1 deletion sdk/src/native_loader.rs
Original file line number Diff line number Diff line change
@@ -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,
];

Expand Down
2 changes: 1 addition & 1 deletion sdk/src/storage_program.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
];
Expand Down
2 changes: 1 addition & 1 deletion sdk/src/system_program.rs
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit 9c3e7e4

Please sign in to comment.