consensus-specs icon indicating copy to clipboard operation
consensus-specs copied to clipboard

Rename index vars in `get_attesting_indices()`

Open jtraglia opened this issue 4 months ago • 0 comments

I found this function a little confusing because the index variable is shadowed.

  1. for index in committee_indices:
  2. for i, index in enumerate(committee)

I think it would be good to rename this so it's clear which index is used.

jtraglia avatar Oct 23 '24 19:10 jtraglia