Add rewards to is_syscall_id() (#5035)
This commit is contained in:
@ -11,6 +11,7 @@ pub mod tick_height;
|
|||||||
pub fn is_syscall_id(id: &Pubkey) -> bool {
|
pub fn is_syscall_id(id: &Pubkey) -> bool {
|
||||||
current::check_id(id)
|
current::check_id(id)
|
||||||
|| fees::check_id(id)
|
|| fees::check_id(id)
|
||||||
|
|| rewards::check_id(id)
|
||||||
|| slot_hashes::check_id(id)
|
|| slot_hashes::check_id(id)
|
||||||
|| tick_height::check_id(id)
|
|| tick_height::check_id(id)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user