Function sp_npos_elections::to_supports
source · pub fn to_supports<AccountId: IdentifierT>(
assignments: &[StakedAssignment<AccountId>]
) -> Supports<AccountId>Expand description
Same as to_support_map except it returns a
flat vector.