Skip to content

Commit

Permalink
Companion for paritytech/substrate#10242 (#4862)
Browse files Browse the repository at this point in the history
* Rename to BagError

* update lockfile for {"substrate"}

Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
Co-authored-by: parity-processbot <>
  • Loading branch information
KiChjang and shawntabrizi authored Mar 24, 2022
1 parent db949b5 commit bd937d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion polkadot/runtime/common/src/elections.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ pub struct UseNominatorsAndUpdateBagsList<T>(PhantomData<T>);
impl<T: pallet_bags_list::Config + pallet_staking::Config> SortedListProvider<T::AccountId>
for UseNominatorsAndUpdateBagsList<T>
{
type Error = pallet_bags_list::Error;
type Error = pallet_bags_list::ListError;
type Score = <T as pallet_bags_list::Config>::Score;

fn iter() -> Box<dyn Iterator<Item = T::AccountId>> {
Expand Down

0 comments on commit bd937d9

Please sign in to comment.