Skip to content

Commit

Permalink
remove selecting participant to remove at random
Browse files Browse the repository at this point in the history
  • Loading branch information
akildemir committed Jun 20, 2024
1 parent 3f7665f commit 4831d1e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions substrate/client/tests/validator_sets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4831d1e

Please sign in to comment.