diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 4afe8488f93d..0f7302c14f57 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -554,7 +554,7 @@ impl pallet_staking::Config for Runtime { type MaxNominatorRewardedPerValidator = MaxNominatorRewardedPerValidator; type OffendingValidatorsThreshold = OffendingValidatorsThreshold; // Use the nominators map to iter voters, but also keep bags-list up-to-date. - type SortedListProvider = runtime_common::elections::UseNominatorsAndUpdateBagsList; + type SortedListProvider = BagsList; type WeightInfo = weights::pallet_staking::WeightInfo; } diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 646a4a18f351..2f6447bc826d 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -456,7 +456,7 @@ impl pallet_staking::Config for Runtime { type ElectionProvider = ElectionProviderMultiPhase; type GenesisElectionProvider = runtime_common::elections::GenesisElectionOf; // Use the nominators map to iter voters, but also keep bags-list up-to-date. - type SortedListProvider = runtime_common::elections::UseNominatorsAndUpdateBagsList; + type SortedListProvider = BagsList; type WeightInfo = weights::pallet_staking::WeightInfo; }