Skip to content

Commit b4a296d

Browse files
committed
Fix clippy
Signed-off-by: Jacinta Ferrant <jacinta.ferrant@gmail.com>
1 parent 242cd7e commit b4a296d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stacks-signer/src/tests/signer_state.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ fn check_capitulate_miner_view() {
168168
let mut local_state_machine = LocalStateMachine::Initialized(signer_state_machine.clone());
169169

170170
// 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());
171+
for address in addresses.into_iter().take(4) {
172+
global_eval.insert_update(address, new_update.clone());
173173
}
174174
// Miner view should be None as we can't find consensus on a single miner
175175
assert!(

0 commit comments

Comments
 (0)