Rename in-tree program_ids to be base-58 human readable (#4001)

This commit is contained in:
Michael Vines
2019-04-25 17:58:49 -07:00
committed by GitHub
parent fd60ef8a8d
commit e71ab55288
14 changed files with 55 additions and 54 deletions

View File

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