Function sp_npos_elections::helpers::assignment_staked_to_ratio_normalized [−][src]
pub fn assignment_staked_to_ratio_normalized<A: IdentifierT, P: PerThing128>(
staked: Vec<StakedAssignment<A>>
) -> Result<Vec<Assignment<A, P>>, Error>
Expand description
Same as assignment_staked_to_ratio
and try and do normalization.