diff --git a/frame/staking/src/lib.rs b/frame/staking/src/lib.rs index 0a22f31e6c3f5..30c2a160e9e72 100644 --- a/frame/staking/src/lib.rs +++ b/frame/staking/src/lib.rs @@ -2738,8 +2738,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))