Skip to content

Commit

Permalink
fix complilation and fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ordian committed Aug 28, 2024
1 parent 0a0b6d0 commit 3d1d839
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions polkadot/runtime/parachains/src/inclusion/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -588,8 +588,11 @@ impl<T: Config> Pallet<T> {
commitments: candidate.commitments,
};

let has_runtime_upgrade =
receipt.commitments.new_validation_code.map(|_| 1).unwrap_or_default()
let has_runtime_upgrade = receipt
.commitments
.new_validation_code
.map(|_| 1)
.unwrap_or_default();
let u = receipt.commitments.upward_messages.len() as u32;
let h = receipt.commitments.horizontal_messages.len() as u32;
let enact_weight = <T as Config>::WeightInfo::enact_candidate(
Expand Down

0 comments on commit 3d1d839

Please sign in to comment.