Check whether the address is one of those identifying the system actor.
(addr: &Address)
| 16 | |
| 17 | /// Check whether the address is one of those identifying the system actor. |
| 18 | pub fn is_system_addr(addr: &Address) -> bool { |
| 19 | *addr == SYSTEM_ACTOR_ADDR || *addr == *SYSTEM_ACTOR_ETH_ADDR |
| 20 | } |
| 21 | |
| 22 | /// System actor state. |
| 23 | #[derive(Default, Deserialize_tuple, Serialize_tuple, Debug, Clone)] |