make sysvar creation a bit more foolproof (#6294)

This commit is contained in:
Rob Walker
2019-10-09 23:22:33 -07:00
committed by GitHub
parent 1f345ce2d9
commit e58e48e919
8 changed files with 29 additions and 8 deletions

View File

@@ -12,7 +12,7 @@ const ID: [u8; 32] = [
111, 196, 237, 82, 106, 156, 144, 0, 0, 0, 0,
];
crate::solana_name_id!(ID, "SysvarFees111111111111111111111111111111111");
crate::solana_sysvar_id!(ID, "SysvarFees111111111111111111111111111111111");
#[repr(C)]
#[derive(Serialize, Deserialize, Debug, Default)]