add stake_history sysvar (#5475)

This commit is contained in:
Rob Walker
2019-08-09 12:31:56 -07:00
committed by GitHub
parent e1e295e1b6
commit 7b77fbd525
2 changed files with 109 additions and 0 deletions

View File

@@ -6,6 +6,7 @@ pub mod clock;
pub mod fees;
pub mod rewards;
pub mod slot_hashes;
pub mod stake_history;
pub fn is_sysvar_id(id: &Pubkey) -> bool {
clock::check_id(id) || fees::check_id(id) || rewards::check_id(id) || slot_hashes::check_id(id)