Remove not required DigestItem conversion (#11165)

This commit is contained in:
Davide Galassi authored and GitHub committed 2022-04-04 14:29:29 +00:00
1 parent b8dbe46b3e
commit d3d3df5bfb
3 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -153,7 +153,7 @@ impl<T: Config> Pallet<T> {
AURA_ENGINE_ID,
ConsensusLog::AuthoritiesChange(new.into_inner()).encode(),
);
<frame_system::Pallet<T>>::deposit_log(log.into());
<frame_system::Pallet<T>>::deposit_log(log);
}
fn initialize_authorities(authorities: &[T::AuthorityId]) {
@@ -225,7 +225,7 @@ impl<T: Config> OneSessionHandler<T::AccountId> for Pallet<T> {
ConsensusLog::<T::AuthorityId>::OnDisabled(i as AuthorityIndex).encode(),
);
<frame_system::Pallet<T>>::deposit_log(log.into());
<frame_system::Pallet<T>>::deposit_log(log);
}
}