Use bs58 strings to declare IDs rather then raw bytes (#7082)

This commit is contained in:
Jack May
2019-11-21 16:34:40 -08:00
committed by GitHub
parent d9e7a5fcbe
commit d8ead57fbb
37 changed files with 81 additions and 252 deletions

View File

@ -1,12 +1,4 @@
pub mod ownable_instruction;
pub mod ownable_processor;
const OWNABLE_PROGRAM_ID: [u8; 32] = [
12, 6, 169, 236, 232, 53, 216, 159, 221, 186, 8, 8, 33, 45, 166, 249, 243, 55, 177, 184, 195,
132, 141, 34, 63, 108, 219, 80, 0, 0, 0, 0,
];
solana_sdk::solana_name_id!(
OWNABLE_PROGRAM_ID,
"ownab1e111111111111111111111111111111111111"
);
solana_sdk::declare_id!("ownab1e111111111111111111111111111111111111");