async fn validator_set(&self, h: Height) -> Result<Set, error::Error> {
        let r = self.client.validators(h).await;
        match r {
            Ok(response) => Ok(validator::Set::new(response.validators)),
            Err(error) => Err(error::Kind::RequestFailed.context(error).into()),
        }
    }
/// Request the validator set at height h.
Request the validator set at height h.
Request the validator set at height h .
async fn validator_set(&self, h: Height) -> Result<Set, error::Error> {
        let r = self.client.validators(h).await;
        match r {
            Ok(response) => Ok(validator::Set::new(response.validators)),
            Err(error) => Err(error::Kind::RequestFailed.context(error).into()),
        }
    }
async fn validator_set ( & self , h : Height ) -> Result < Set , error :: Error > { let r = self . client . validators ( h ) . await ; match r { Ok ( response ) => Ok ( validator :: Set :: new ( response . validators ) ) , Err ( error ) => Err ( error :: Kind :: RequestFailed . context ( error ) . into ( ) ) , } }
Request the validator set at height h.
Request the validator set at height h .
&self
h
Height
&self
h
Height