This repository was archived by the owner on Nov 15, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -554,7 +554,7 @@ impl pallet_staking::Config for Runtime {
554554 type MaxNominatorRewardedPerValidator = MaxNominatorRewardedPerValidator ;
555555 type OffendingValidatorsThreshold = OffendingValidatorsThreshold ;
556556 // Use the nominators map to iter voters, but also keep bags-list up-to-date.
557- type SortedListProvider = runtime_common :: elections :: UseNominatorsAndUpdateBagsList < Runtime > ;
557+ type SortedListProvider = BagsList ;
558558 type WeightInfo = weights:: pallet_staking:: WeightInfo < Runtime > ;
559559}
560560
Original file line number Diff line number Diff line change @@ -456,7 +456,7 @@ impl pallet_staking::Config for Runtime {
456456 type ElectionProvider = ElectionProviderMultiPhase ;
457457 type GenesisElectionProvider = runtime_common:: elections:: GenesisElectionOf < Self > ;
458458 // Use the nominators map to iter voters, but also keep bags-list up-to-date.
459- type SortedListProvider = runtime_common :: elections :: UseNominatorsAndUpdateBagsList < Runtime > ;
459+ type SortedListProvider = BagsList ;
460460 type WeightInfo = weights:: pallet_staking:: WeightInfo < Runtime > ;
461461}
462462
You can’t perform that action at this time.
0 commit comments