fix ordering of staking weight arguments
Closes
@@ -2738,8 +2738,8 @@ impl<T: Config> frame_election_provider_support::ElectionDataProvider<T::Account
let slashing_span_count = <SlashingSpans<T>>::iter().count();
let weight = T::WeightInfo::get_npos_voters(
- nominator_count as u32,
validator_count as u32,
+ nominator_count as u32,
slashing_span_count as u32,
);
Ok((Self::get_npos_voters(), weight))
