Changes `array` to `Set` (James Super Tip)
- Changed the data structure used to save the validators in the active set from an `array` to a `Set` (based on James suggestion) - Changed also the used functions accordingly. - Merged in one loop the check of which validator is in the active set and the population of the returned array.
Please register or sign in to comment