/// check whether the subnet should halt because the subnet record in the
/// latest registry version instructs the subnet to halt
check whether the subnet should halt because the subnet record in the
latest registry version instructs the subnet to halt
check whether the subnet should halt because the subnet record in the latest registry version instructs the subnet to halt
pub fn should_halt_by_subnet_record(&self) -> bool {
        let version = self.registry_client.get_latest_version();
        match self.registry_client.get_is_halted(self.subnet_id, version) {
            Ok(None) => {
                panic!(
                    "No subnet record found for registry version={:?} and subnet_id={:?}",
                    version, self.subnet_id,
                );
            }
            Err(err) => {
                error!(
                    self.log,
                    "Could not retrieve whether the subnet is halted from the registry: {:?}", err
                );
                false
            }
            Ok(Some(is_halted)) => is_halted,
        }
    }
pub fn should_halt_by_subnet_record ( & self ) -> bool { let version = self . registry_client . get_latest_version ( ) ; match self . registry_client . get_is_halted ( self . subnet_id , version ) { Ok ( None ) => { panic ! ( " " version self subnet_id ) ; } Err ( err ) => { error ! ( self log " " err ) ; false } Ok ( Some ( is_halted ) ) => is_halted , } }
check whether the subnet should halt because the subnet record in the
latest registry version instructs the subnet to halt
check whether the subnet should halt because the subnet record in the latest registry version instructs the subnet to halt
&self