pub fn voter_at_fn<T: MinerConfig>(
    snapshot: &Vec<MinerVoterOf<T>>
) -> impl Fn(SolutionVoterIndexOf<T>) -> Option<T::AccountId> + '_
Expand description

Create a function that can map a voter index (SolutionVoterIndexOf) to the actual voter account using a linearly indexible snapshot.