consensus-specs
consensus-specs copied to clipboard
Rename index vars in `get_attesting_indices()`
I found this function a little confusing because the index
variable is shadowed.
-
for index in committee_indices:
-
for i, index in enumerate(committee)
I think it would be good to rename this so it's clear which index is used.