We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 242cd7e commit b4a296dCopy full SHA for b4a296d
stacks-signer/src/tests/signer_state.rs
@@ -168,8 +168,8 @@ fn check_capitulate_miner_view() {
168
let mut local_state_machine = LocalStateMachine::Initialized(signer_state_machine.clone());
169
170
// Let's update 40 percent of other signers to some new miner key
171
- for address in addresses.iter().take(4) {
172
- global_eval.insert_update(address.clone(), new_update.clone());
+ for address in addresses.into_iter().take(4) {
+ global_eval.insert_update(address, new_update.clone());
173
}
174
// Miner view should be None as we can't find consensus on a single miner
175
assert!(
0 commit comments