Use bs58 strings to declare IDs rather then raw bytes (#7082)
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
pub const PROGRAM_ID: [u8; 32] = [
|
||||
5, 84, 172, 160, 172, 5, 64, 41, 134, 4, 81, 31, 45, 11, 30, 64, 219, 238, 140, 38, 194, 100,
|
||||
192, 219, 156, 94, 62, 208, 0, 0, 0, 0,
|
||||
];
|
||||
|
||||
crate::solana_name_id!(PROGRAM_ID, "MoveLdr111111111111111111111111111111111111");
|
||||
pub const BS58_STRING: &str = "MoveLdr111111111111111111111111111111111111";
|
||||
crate::declare_id!(BS58_STRING);
|
||||
|
||||
pub fn solana_move_loader_program() -> (String, crate::pubkey::Pubkey) {
|
||||
("solana_move_loader_program".to_string(), id())
|
||||
|
Reference in New Issue
Block a user