Function sp_npos_elections::to_support_map
source · pub fn to_support_map<AccountId: IdentifierT>(
assignments: &[StakedAssignment<AccountId>],
) -> SupportMap<AccountId>
Expand description
Build the support map from the assignments.