Companion for paritytech/substrate#10242 (#4862)

* Rename to BagError

* update lockfile for {"substrate"}

Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
Co-authored-by: parity-processbot <>
This commit is contained in:
Keith Yeung
2022-03-24 15:39:24 +01:00
committed by GitHub
parent dea0cc42c7
commit 7cf8010815
2 changed files with 164 additions and 164 deletions
+163 -163
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -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>> {