mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-24 04:35:04 +00:00
Fix CandidateRemoved event (#503)
This commit is contained in:
1 parent
5aca3b54d8
commit
9a1e8af944
1 file changed
+2
-2
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user