mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-10 13:09:24 +00:00
remove selecting participant to remove at random
This commit is contained in:
@@ -247,8 +247,7 @@ async fn validator_set_rotation() {
|
||||
.await;
|
||||
|
||||
// remove 1 participant
|
||||
let participant_to_remove =
|
||||
accounts[usize::try_from(OsRng.next_u64() % 4).unwrap()].clone();
|
||||
let participant_to_remove = accounts[1].clone();
|
||||
let hash = deallocate_stake(
|
||||
&serai,
|
||||
network,
|
||||
|
||||
Reference in New Issue
Block a user