Creates a new rootnet SubnetID
(root_id: u64)
| 74 | |
| 75 | /// Creates a new rootnet SubnetID |
| 76 | pub fn new_root(root_id: u64) -> Self { |
| 77 | Self { |
| 78 | root: root_id, |
| 79 | children: vec![], |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | /// Returns true if the current subnet is the root network |
| 84 | pub fn is_root(&self) -> bool { |
nothing calls this directly
no outgoing calls
no test coverage detected