Add rewards to is_syscall_id() (#5035)
This commit is contained in:
parent
4c90898f0b
commit
5b95685e12
|
@ -8,7 +8,10 @@ pub mod rewards;
|
||||||
pub mod slot_hashes;
|
pub mod slot_hashes;
|
||||||
|
|
||||||
pub fn is_syscall_id(id: &Pubkey) -> bool {
|
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"
|
/// "Sysca11111111111111111111111111111111111111"
|
||||||
|
|
Loading…
Reference in New Issue