fn node_belongs_to_high_threshold_committee(
        &self,
        node_id: NodeId,
        height: Height,
    ) -> Result<bool, MembershipError> {
        match active_high_threshold_transcript(self.consensus_cache.as_ref(), height) {
            Some(transcript) => Ok(transcript.committee.position(node_id).is_some()),
            None => Err(MembershipError::UnableToRetrieveDkgSummary(height)),
        }
    }
/// Return true if the given node ID is in the high threshold committee at
/// the given height
Return true if the given node ID is in the high threshold committee at
the given height
Return true if the given node ID is in the high threshold committee at the given height
fn node_belongs_to_high_threshold_committee(
        &self,
        node_id: NodeId,
        height: Height,
    ) -> Result<bool, MembershipError> {
        match active_high_threshold_transcript(self.consensus_cache.as_ref(), height) {
            Some(transcript) => Ok(transcript.committee.position(node_id).is_some()),
            None => Err(MembershipError::UnableToRetrieveDkgSummary(height)),
        }
    }
fn node_belongs_to_high_threshold_committee ( & self , node_id : NodeId , height : Height , ) -> Result < bool , MembershipError > { match active_high_threshold_transcript ( self . consensus_cache . as_ref ( ) , height ) { Some ( transcript ) => Ok ( transcript . committee . position ( node_id ) . is_some ( ) ) , None => Err ( MembershipError :: UnableToRetrieveDkgSummary ( height ) ) , } }
Return true if the given node ID is in the high threshold committee at
the given height
Return true if the given node ID is in the high threshold committee at the given height
&self
node_id
NodeId
height
Height
&self
node_id
NodeId
height
Height