Commit 7554ed1 1 parent 26bddee commit 7554ed1 Copy full SHA for 7554ed1
File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ impl<T: Config> Pallet<T> {
153
153
AURA_ENGINE_ID ,
154
154
ConsensusLog :: AuthoritiesChange ( new. into_inner ( ) ) . encode ( ) ,
155
155
) ;
156
- <frame_system:: Pallet < T > >:: deposit_log ( log. into ( ) ) ;
156
+ <frame_system:: Pallet < T > >:: deposit_log ( log) ;
157
157
}
158
158
159
159
fn initialize_authorities ( authorities : & [ T :: AuthorityId ] ) {
@@ -225,7 +225,7 @@ impl<T: Config> OneSessionHandler<T::AccountId> for Pallet<T> {
225
225
ConsensusLog :: < T :: AuthorityId > :: OnDisabled ( i as AuthorityIndex ) . encode ( ) ,
226
226
) ;
227
227
228
- <frame_system:: Pallet < T > >:: deposit_log ( log. into ( ) ) ;
228
+ <frame_system:: Pallet < T > >:: deposit_log ( log) ;
229
229
}
230
230
}
231
231
Original file line number Diff line number Diff line change @@ -627,7 +627,7 @@ impl<T: Config> Pallet<T> {
627
627
628
628
fn deposit_consensus < U : Encode > ( new : U ) {
629
629
let log = DigestItem :: Consensus ( BABE_ENGINE_ID , new. encode ( ) ) ;
630
- <frame_system:: Pallet < T > >:: deposit_log ( log. into ( ) )
630
+ <frame_system:: Pallet < T > >:: deposit_log ( log)
631
631
}
632
632
633
633
fn deposit_randomness ( randomness : & schnorrkel:: Randomness ) {
Original file line number Diff line number Diff line change @@ -498,7 +498,7 @@ impl<T: Config> Pallet<T> {
498
498
/// Deposit one of this module's logs.
499
499
fn deposit_log ( log : ConsensusLog < T :: BlockNumber > ) {
500
500
let log = DigestItem :: Consensus ( GRANDPA_ENGINE_ID , log. encode ( ) ) ;
501
- <frame_system:: Pallet < T > >:: deposit_log ( log. into ( ) ) ;
501
+ <frame_system:: Pallet < T > >:: deposit_log ( log) ;
502
502
}
503
503
504
504
// Perform module initialization, abstracted so that it can be called either through genesis
You can’t perform that action at this time.
0 commit comments