Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Prev Previous commit
Update frame/election-provider-multi-phase/src/unsigned.rs
  • Loading branch information
kianenigma authored Mar 29, 2021
commit 1c87473306fdab10ebff5527de9a8d39c1106ee7
6 changes: 0 additions & 6 deletions frame/election-provider-multi-phase/src/unsigned.rs
Original file line number Diff line number Diff line change
Expand Up @@ -338,12 +338,6 @@ impl<T: Config> Pallet<T> {
final_decision,
max_weight,
);
debug_assert!(
weight_with(final_decision + 1) > max_weight,
"weight_with({} + 1) > {}",
final_decision,
max_weight,
);
final_decision
}

Expand Down