mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-15 08:01:09 +00:00
Remove Self vote from phragmen (#4081)
* first draft of everything that works * Some test fixes
This commit is contained in:
committed by
Bastian Köcher
parent
b691cfe093
commit
ed5d31a22b
@@ -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