mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-15 06:51:07 +00:00
Disable validators but don't kick them (#2870)
* Disable validators but don't kick them * Bump runtime * Remove stray printlns
This commit is contained in:
@@ -1210,8 +1210,7 @@ impl<T: Trait> Module<T> {
|
||||
.map(|x| x.min(slash_exposure))
|
||||
.unwrap_or(slash_exposure);
|
||||
let _ = Self::slash_validator(&stash, slash);
|
||||
<Validators<T>>::remove(&stash);
|
||||
let _ = Self::apply_force_new_era();
|
||||
let _ = <session::Module<T>>::disable(&controller);
|
||||
|
||||
RawEvent::OfflineSlash(stash.clone(), slash)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user