referrerpolicy=no-referrer-when-downgrade
sp_npos_elections

Function 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.