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

+1 -1
View File
@@ -498,7 +498,7 @@ impl<T: Config> Pallet<T> {
/// Deposit one of this module's logs.
fn deposit_log(log: ConsensusLog<T::BlockNumber>) {
let log = DigestItem::Consensus(GRANDPA_ENGINE_ID, log.encode());
<frame_system::Pallet<T>>::deposit_log(log.into());
<frame_system::Pallet<T>>::deposit_log(log);
}
// Perform module initialization, abstracted so that it can be called either through genesis