mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-09 12:17:07 +00:00
Remove Self vote from phragmen (#4081)
* first draft of everything that works * Some test fixes
This commit is contained in:
1 parent
b691cfe093
commit
ed5d31a22b
6 files changed
+107
-130
No files matched your search
@@ -542,7 +542,6 @@ impl<T: Trait> Module<T> {
|
||||
candidates,
|
||||
voters_and_votes,
|
||||
Self::locked_stake_of,
|
||||
false,
|
||||
);
|
||||
|
||||
let mut to_release_bond: Vec<T::AccountId> = Vec::with_capacity(desired_seats);
|
||||
@@ -563,7 +562,6 @@ impl<T: Trait> Module<T> {
|
||||
&new_set,
|
||||
&phragmen_result.assignments,
|
||||
Self::locked_stake_of,
|
||||
false,
|
||||
);
|
||||
|
||||
let to_balance = |e: ExtendedBalance|
|
||||
|
||||
Reference in new issue
Block a user