Skip to content
Snippets Groups Projects
Commit 9a1e8af9 authored by zjb0807's avatar zjb0807 Committed by GitHub
Browse files

Fix CandidateRemoved event (#503)

parent 5aca3b54
Branches
No related merge requests found
......@@ -379,9 +379,9 @@ pub mod pallet {
candidates.remove(index);
<LastAuthoredBlock<T>>::remove(who.clone());
Ok(candidates.len())
});
})?;
Self::deposit_event(Event::CandidateRemoved(who.clone()));
current_count
Ok(current_count)
}
/// Assemble the current set of candidates and invulnerables into the next collator set.
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment