remove whitespaces. (#8341)

This commit is contained in:
Kian Paimani authored and GitHub committed 2021-03-12 14:23:24 +00:00
1 parent 5182209788
commit f725975861
1 file changed
+8 -8
+8 -8
View File
@@ -375,16 +375,16 @@ where
if remaining_weight > 0 {
let mut used_weight =
<frame_system::Module<System> as OnIdle<System::BlockNumber>>::on_idle(
block_number,
remaining_weight
);
<frame_system::Module<System> as OnIdle<System::BlockNumber>>::on_idle(
block_number,
remaining_weight
);
remaining_weight = remaining_weight.saturating_sub(used_weight);
used_weight = <AllModules as OnIdle<System::BlockNumber>>::on_idle(
block_number,
remaining_weight
)
.saturating_add(used_weight);
block_number,
remaining_weight
)
.saturating_add(used_weight);
<frame_system::Module::<System>>::register_extra_weight_unchecked(used_weight, DispatchClass::Mandatory);
}