Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JesseAbram committed Oct 22, 2024
1 parent 75e73f5 commit 3880ff1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/staking/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 = &current_signers[0].clone();
let mut index;
// loops to find signer in validator that is not already signer
while current_signers.contains(next_signer_up) {
Expand Down

0 comments on commit 3880ff1

Please sign in to comment.