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

@ -3,13 +3,7 @@ use solana_sdk::account::KeyedAccount;
use solana_sdk::instruction::InstructionError;
use solana_sdk::pubkey::Pubkey;
pub const NOOP_PROGRAM_ID: [u8; 32] = [
5, 150, 31, 54, 19, 205, 142, 201, 161, 38, 97, 31, 144, 212, 37, 82, 93, 58, 178, 5, 131, 178,
31, 101, 138, 251, 91, 128, 0, 0, 0, 0,
];
solana_sdk::declare_program!(
NOOP_PROGRAM_ID,
"Noop111111111111111111111111111111111111111",
solana_noop_program,
process_instruction