ethereum/casper

next_validator_index comment is misleading

Closed this issue · 2 comments

# Number of validators

This var does not represent the number of validators as it is set to 1 in the constructor. It technically represents number of validators + 1.

I would suggest changing the comment to "Next available validator index.", however I am no authority 😄

the comment "Next available validator index." sounds good!

It doesn't even represent the number of validators + 1! It represents the number of validators there have ever been (+ 1)...

changing it now