Skip to content

Commit 1aa6793

Browse files
committed
Apply clippy
Signed-off-by: Jacinta Ferrant <[email protected]>
1 parent 92528c7 commit 1aa6793

File tree

1 file changed

+4
-4
lines changed
  • testnet/stacks-node/src/tests/signer

1 file changed

+4
-4
lines changed

testnet/stacks-node/src/tests/signer/v0.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5044,7 +5044,7 @@ fn continue_after_fast_block_no_sortition() {
50445044
let send_fee = 180;
50455045
let mut signer_test: SignerTest<SpawnedSigner> = SignerTest::new(
50465046
num_signers,
5047-
vec![(sender_addr.clone(), (send_amt + send_fee) * 5)],
5047+
vec![(sender_addr, (send_amt + send_fee) * 5)],
50485048
);
50495049
let timeout = Duration::from_secs(200);
50505050
let _coord_channel = signer_test.running_nodes.coord_channel.clone();
@@ -5056,7 +5056,7 @@ fn continue_after_fast_block_no_sortition() {
50565056
let sortdb = burnchain.open_sortition_db(true).unwrap();
50575057

50585058
let get_burn_height = || {
5059-
SortitionDB::get_canonical_burn_chain_tip(&sortdb.conn())
5059+
SortitionDB::get_canonical_burn_chain_tip(sortdb.conn())
50605060
.unwrap()
50615061
.block_height
50625062
};
@@ -5093,7 +5093,7 @@ fn continue_after_fast_block_no_sortition() {
50935093
.expect("Timed out waiting for a new block commit");
50945094

50955095
// Make all signers ignore block proposals
5096-
let ignoring_signers: Vec<_> = all_signers.iter().cloned().collect();
5096+
let ignoring_signers = all_signers.to_vec();
50975097
TEST_REJECT_ALL_BLOCK_PROPOSAL
50985098
.lock()
50995099
.unwrap()
@@ -5126,7 +5126,7 @@ fn continue_after_fast_block_no_sortition() {
51265126
.unwrap();
51275127

51285128
// assure we have a sortition
5129-
let tip = SortitionDB::get_canonical_burn_chain_tip(&sortdb.conn()).unwrap();
5129+
let tip = SortitionDB::get_canonical_burn_chain_tip(sortdb.conn()).unwrap();
51305130
assert!(tip.sortition);
51315131

51325132
let burn_height_before = signer_test

0 commit comments

Comments
 (0)