fn next_era_validators(&self, era_number: u64) -> &BTreeMap<PublicKey, U512> {
        self.headers[era_number as usize]
            .next_era_validator_weights()
            .expect("validators")
    }
/// Returns the list of validators in the successor era.
Returns the list of validators in the successor era.
Returns the list of validators in the successor era .
fn next_era_validators(&self, era_number: u64) -> &BTreeMap<PublicKey, U512> {
        self.headers[era_number as usize]
            .next_era_validator_weights()
            .expect("validators")
    }
fn next_era_validators ( & self , era_number : u64 ) -> & BTreeMap < PublicKey , U512 > { self . headers [ era_number as usize ] . next_era_validator_weights ( ) . expect ( " " ) }
Returns the list of validators in the successor era.
Returns the list of validators in the successor era .
&self
era_number
u64
&self
era_number
u64