pub fn find_validator_group(
groups: &[Vec<ValidatorIndex>],
index: ValidatorIndex
) -> Option<GroupIndex>
Expand description
Find the validator group the given validator index belongs to.
pub fn find_validator_group(
groups: &[Vec<ValidatorIndex>],
index: ValidatorIndex
) -> Option<GroupIndex>
Find the validator group the given validator index belongs to.