Ensure cumulus/bridges is ignored by formatter and run it (#1369)

This commit is contained in:
Gavin Wood
2023-09-03 15:11:26 +02:00
committed by GitHub
parent 2c3e869c38
commit bc6fca3c44
7 changed files with 20 additions and 18 deletions
+1 -1
View File
@@ -398,7 +398,7 @@ pub mod pallet {
/// [`EnteredUntil`].
fn on_initialize(current: BlockNumberFor<T>) -> Weight {
let Some(limit) = EnteredUntil::<T>::get() else {
return T::WeightInfo::on_initialize_noop();
return T::WeightInfo::on_initialize_noop()
};
if current > limit {