From 3880ff1a513cb49a17e5ee8b74a98815009b11db Mon Sep 17 00:00:00 2001 From: Jesse Abramowitz Date: Tue, 22 Oct 2024 13:26:54 -0400 Subject: [PATCH] fix --- pallets/staking/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pallets/staking/src/lib.rs b/pallets/staking/src/lib.rs index 9da8ee8c9..f746ac32b 100644 --- a/pallets/staking/src/lib.rs +++ b/pallets/staking/src/lib.rs @@ -726,7 +726,7 @@ pub mod pallet { while current_signers.len() < signers_info.total_signers as usize { let mut randomness = Self::get_randomness(); // grab a current signer to initiate value - let mut next_signer_up = &validators[0].clone(); + let mut next_signer_up = ¤t_signers[0].clone(); let mut index; // loops to find signer in validator that is not already signer while current_signers.contains(next_signer_up) {