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