Add rewards to is_syscall_id() (#5035)

This commit is contained in:
Jack May 2019-07-11 13:47:22 -08:00 committed by GitHub
parent 4c90898f0b
commit 5b95685e12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -8,7 +8,10 @@ pub mod rewards;
pub mod slot_hashes;
pub fn is_syscall_id(id: &Pubkey) -> bool {
current::check_id(id) || fees::check_id(id) || slot_hashes::check_id(id)
current::check_id(id)
|| fees::check_id(id)
|| rewards::check_id(id)
|| slot_hashes::check_id(id)
}
/// "Sysca11111111111111111111111111111111111111"