Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix borked merge
  • Loading branch information
gavofyork committed May 31, 2018
commit 6c81a1e795c6390e51e72420ec557303dd7f448c
1 change: 0 additions & 1 deletion substrate/runtime/council/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,6 @@ impl<T: Trait> Module<T> {
<staking::Module<T>>::deduct_unbonded(aux.ref_into(), Self::candidacy_bond())
.map_err(|_| "candidate has not enough funds")?;

<staking::Module<T>>::deduct_unbonded(aux.ref_into(), Self::candidacy_bond());
let mut candidates = candidates;
if slot == candidates.len() {
candidates.push(aux.ref_into().clone());
Expand Down