diff --git a/polkadot/runtime/common/src/elections.rs b/polkadot/runtime/common/src/elections.rs index a1b3a16620..3a3ce5f857 100644 --- a/polkadot/runtime/common/src/elections.rs +++ b/polkadot/runtime/common/src/elections.rs @@ -77,7 +77,7 @@ pub struct UseNominatorsAndUpdateBagsList(PhantomData); impl SortedListProvider for UseNominatorsAndUpdateBagsList { - type Error = pallet_bags_list::Error; + type Error = pallet_bags_list::ListError; type Score = ::Score; fn iter() -> Box> {