Skip to content

Commit

Permalink
Apply clippy
Browse files Browse the repository at this point in the history
Signed-off-by: Jacinta Ferrant <[email protected]>
  • Loading branch information
jferrant committed Nov 5, 2024
1 parent 92528c7 commit 1aa6793
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions testnet/stacks-node/src/tests/signer/v0.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5044,7 +5044,7 @@ fn continue_after_fast_block_no_sortition() {
let send_fee = 180;
let mut signer_test: SignerTest<SpawnedSigner> = SignerTest::new(
num_signers,
vec![(sender_addr.clone(), (send_amt + send_fee) * 5)],
vec![(sender_addr, (send_amt + send_fee) * 5)],
);
let timeout = Duration::from_secs(200);
let _coord_channel = signer_test.running_nodes.coord_channel.clone();
Expand All @@ -5056,7 +5056,7 @@ fn continue_after_fast_block_no_sortition() {
let sortdb = burnchain.open_sortition_db(true).unwrap();

let get_burn_height = || {
SortitionDB::get_canonical_burn_chain_tip(&sortdb.conn())
SortitionDB::get_canonical_burn_chain_tip(sortdb.conn())
.unwrap()
.block_height
};
Expand Down Expand Up @@ -5093,7 +5093,7 @@ fn continue_after_fast_block_no_sortition() {
.expect("Timed out waiting for a new block commit");

// Make all signers ignore block proposals
let ignoring_signers: Vec<_> = all_signers.iter().cloned().collect();
let ignoring_signers = all_signers.to_vec();
TEST_REJECT_ALL_BLOCK_PROPOSAL
.lock()
.unwrap()
Expand Down Expand Up @@ -5126,7 +5126,7 @@ fn continue_after_fast_block_no_sortition() {
.unwrap();

// assure we have a sortition
let tip = SortitionDB::get_canonical_burn_chain_tip(&sortdb.conn()).unwrap();
let tip = SortitionDB::get_canonical_burn_chain_tip(sortdb.conn()).unwrap();
assert!(tip.sortition);

let burn_height_before = signer_test
Expand Down

0 comments on commit 1aa6793

Please sign in to comment.