Skip to content

Commit 3d1d839

Browse files
committed
fix complilation and fmt
1 parent 0a0b6d0 commit 3d1d839

File tree

1 file changed

+5
-2
lines changed
  • polkadot/runtime/parachains/src/inclusion

1 file changed

+5
-2
lines changed

polkadot/runtime/parachains/src/inclusion/mod.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -588,8 +588,11 @@ impl<T: Config> Pallet<T> {
588588
commitments: candidate.commitments,
589589
};
590590

591-
let has_runtime_upgrade =
592-
receipt.commitments.new_validation_code.map(|_| 1).unwrap_or_default()
591+
let has_runtime_upgrade = receipt
592+
.commitments
593+
.new_validation_code
594+
.map(|_| 1)
595+
.unwrap_or_default();
593596
let u = receipt.commitments.upward_messages.len() as u32;
594597
let h = receipt.commitments.horizontal_messages.len() as u32;
595598
let enact_weight = <T as Config>::WeightInfo::enact_candidate(

0 commit comments

Comments
 (0)