@@ -1250,20 +1250,20 @@ pub mod pallet {
1250
1250
}
1251
1251
1252
1252
/// A public interface for `pallet_grandpa::Pallet::schedule_grandpa_change`.
1253
- ///
1254
- /// Schedule a change in the authorities.
1255
- ///
1256
- /// The change will be applied at the end of execution of the block `in_blocks` after the
1257
- /// current block. This value may be 0, in which case the change is applied at the end of
1258
- /// the current block.
1259
- ///
1260
- /// If the `forced` parameter is defined, this indicates that the current set has been
1261
- /// synchronously determined to be offline and that after `in_blocks` the given change
1262
- /// should be applied. The given block number indicates the median last finalized block
1263
- /// number and it should be used as the canon block when starting the new grandpa voter.
1264
- ///
1265
- /// No change should be signaled while any change is pending. Returns an error if a change
1266
- /// is already pending.
1253
+ ///
1254
+ /// Schedule a change in the authorities.
1255
+ ///
1256
+ /// The change will be applied at the end of execution of the block `in_blocks` after the
1257
+ /// current block. This value may be 0, in which case the change is applied at the end of
1258
+ /// the current block.
1259
+ ///
1260
+ /// If the `forced` parameter is defined, this indicates that the current set has been
1261
+ /// synchronously determined to be offline and that after `in_blocks` the given change
1262
+ /// should be applied. The given block number indicates the median last finalized block
1263
+ /// number and it should be used as the canon block when starting the new grandpa voter.
1264
+ ///
1265
+ /// No change should be signaled while any change is pending. Returns an error if a change
1266
+ /// is already pending.
1267
1267
#[ pallet:: call_index( 59 ) ]
1268
1268
#[ pallet:: weight( <T as Config >:: WeightInfo :: swap_authorities( next_authorities. len( ) as u32 ) ) ]
1269
1269
pub fn schedule_grandpa_change (
@@ -1294,8 +1294,6 @@ impl<A, M> AuraInterface<A, M> for () {
1294
1294
fn change_authorities ( _: BoundedVec < A , M > ) { }
1295
1295
}
1296
1296
1297
-
1298
-
1299
1297
pub trait GrandpaInterface < Runtime >
1300
1298
where
1301
1299
Runtime : frame_system:: Config ,
0 commit comments