@@ -5044,7 +5044,7 @@ fn continue_after_fast_block_no_sortition() {
5044
5044
let send_fee = 180 ;
5045
5045
let mut signer_test: SignerTest < SpawnedSigner > = SignerTest :: new (
5046
5046
num_signers,
5047
- vec ! [ ( sender_addr. clone ( ) , ( send_amt + send_fee) * 5 ) ] ,
5047
+ vec ! [ ( sender_addr, ( send_amt + send_fee) * 5 ) ] ,
5048
5048
) ;
5049
5049
let timeout = Duration :: from_secs ( 200 ) ;
5050
5050
let _coord_channel = signer_test. running_nodes . coord_channel . clone ( ) ;
@@ -5056,7 +5056,7 @@ fn continue_after_fast_block_no_sortition() {
5056
5056
let sortdb = burnchain. open_sortition_db ( true ) . unwrap ( ) ;
5057
5057
5058
5058
let get_burn_height = || {
5059
- SortitionDB :: get_canonical_burn_chain_tip ( & sortdb. conn ( ) )
5059
+ SortitionDB :: get_canonical_burn_chain_tip ( sortdb. conn ( ) )
5060
5060
. unwrap ( )
5061
5061
. block_height
5062
5062
} ;
@@ -5093,7 +5093,7 @@ fn continue_after_fast_block_no_sortition() {
5093
5093
. expect ( "Timed out waiting for a new block commit" ) ;
5094
5094
5095
5095
// Make all signers ignore block proposals
5096
- let ignoring_signers: Vec < _ > = all_signers. iter ( ) . cloned ( ) . collect ( ) ;
5096
+ let ignoring_signers = all_signers. to_vec ( ) ;
5097
5097
TEST_REJECT_ALL_BLOCK_PROPOSAL
5098
5098
. lock ( )
5099
5099
. unwrap ( )
@@ -5126,7 +5126,7 @@ fn continue_after_fast_block_no_sortition() {
5126
5126
. unwrap ( ) ;
5127
5127
5128
5128
// 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 ( ) ;
5130
5130
assert ! ( tip. sortition) ;
5131
5131
5132
5132
let burn_height_before = signer_test
0 commit comments