Skip to content
Snippets Groups Projects
Unverified Commit cd9472e7 authored by bgallois's avatar bgallois
Browse files

fix #194

parent b72156fd
No related branches found
No related tags found
No related merge requests found
Pipeline #36146 passed
This commit is part of merge request !245. Comments created here will be created in the context of that merge request.
......@@ -24,11 +24,13 @@ use pallet_smith_members::SmithRemovalReason;
pub struct OnNewSessionHandler<Runtime>(core::marker::PhantomData<Runtime>);
impl<Runtime> pallet_authority_members::traits::OnNewSession for OnNewSessionHandler<Runtime>
where
Runtime: pallet_provide_randomness::Config + pallet_distance::Config,
Runtime:
pallet_provide_randomness::Config + pallet_distance::Config + pallet_smith_members::Config,
{
fn on_new_session(index: sp_staking::SessionIndex) {
pallet_provide_randomness::Pallet::<Runtime>::on_new_epoch();
pallet_distance::Pallet::<Runtime>::on_new_session(index);
pallet_smith_members::Pallet::<Runtime>::on_new_session(index);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment