/// Returns true if we know that we successfully synced the state at
/// `height` using the state sync protocol
Returns true if we know that we successfully synced the state at
`height` using the state sync protocol
Returns true if we know that we successfully synced the state at ` height ` using the state sync protocol
pub fn state_is_fetched(&self, height: Height) -> bool {
        match self.highest_successful_sync {
            Some(last_height) => last_height == height,
            None => false,
        }
    }
pub fn state_is_fetched ( & self , height : Height ) -> bool { match self . highest_successful_sync { Some ( last_height ) => last_height == height , None => false , } }
Returns true if we know that we successfully synced the state at
`height` using the state sync protocol
Returns true if we know that we successfully synced the state at ` height ` using the state sync protocol
&self
height
Height