diff --git a/frame/staking/src/lib.rs b/frame/staking/src/lib.rs index 888601e307f35..8a736785e9e45 100644 --- a/frame/staking/src/lib.rs +++ b/frame/staking/src/lib.rs @@ -2557,8 +2557,8 @@ impl frame_election_provider_support::ElectionDataProvider>::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))