Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Prev Previous commit
Next Next commit
remove todo, usage is safe
  • Loading branch information
apopiak committed May 12, 2020
commit 787c0ef611548913d5fd4c971b35dbf4397602b6
1 change: 0 additions & 1 deletion frame/elections-phragmen/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,6 @@ impl<T: Trait> Module<T> {
let old = [who.clone()];
// We don't need to check the actual new members length because it will be the same
// as before or one less.
// TODO: Is this safe without ensure_can_change_members?
let _ = match maybe_replacement {
Some(new) => T::ChangeMembers::change_members_sorted(&[new], &old, &members),
None => T::ChangeMembers::change_members_sorted(&[], &old, &members),
Expand Down