referrerpolicy=no-referrer-when-downgrade
sp_npos_elections

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