func GetActiveValidatorIndices(validators []Validator) []uint32 {
	var active []uint32
	for i, v := range validators {
		if v.IsActive() {
			active = append(active, uint32(i))
		}
	}
	return active
}
// GetActiveValidatorIndices gets validator indices that are active.
GetActiveValidatorIndices gets validator indices that are active.
// GetActiveValidatorIndices gets validator indices that are active .
func GetActiveValidatorIndices(validators []Validator) []uint32 {
	var active []uint32
	for i, v := range validators {
		if v.IsActive() {
			active = append(active, uint32(i))
		}
	}
	return active
}
func GetActiveValidatorIndices ( validators [ ] Validator ) [ ] uint32 { var active [ ] uint32 for i , v := range validators { if v . IsActive ( ) { active = append ( active , uint32 ( i ) ) } } return active }
GetActiveValidatorIndices gets validator indices that are active.
GetActiveValidatorIndices gets validator indices that are active .