pub fn slashed_validators(&self) -> Vec<PublicKey> {
        self.slash_items
            .iter()
            .map(|si| si.validator_id.clone())
            .collect()
    }
/// Returns list of slashed validators.
Returns list of slashed validators.
Returns list of slashed validators .
pub fn slashed_validators(&self) -> Vec<PublicKey> {
        self.slash_items
            .iter()
            .map(|si| si.validator_id.clone())
            .collect()
    }
pub fn slashed_validators ( & self ) -> Vec < PublicKey > { self . slash_items . iter ( ) . map ( | si | si . validator_id . clone ( ) ) . collect ( ) }
Returns list of slashed validators.
Returns list of slashed validators .
&self
&self