File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -757,7 +757,7 @@ impl LocalStateMachine {
757
757
758
758
match signerdb. get_burn_block_by_ch ( tenure_id) {
759
759
Ok ( block) => {
760
- potential_matches. push ( ( block. block_height , miner_state. clone ( ) ) ) ;
760
+ potential_matches. push ( ( block. block_height , miner_state) ) ;
761
761
}
762
762
Err ( e) => {
763
763
warn ! ( "Error retrieving burn block for consensus_hash {tenure_id} from signerdb: {e}" ) ;
@@ -767,7 +767,7 @@ impl LocalStateMachine {
767
767
768
768
potential_matches. sort_by_key ( |( block_height, _) | * block_height) ;
769
769
770
- let new_miner = potential_matches. last ( ) . map ( |( _, miner) | miner. clone ( ) ) ;
770
+ let new_miner = potential_matches. last ( ) . map ( |( _, miner) | ( * miner) . clone ( ) ) ;
771
771
if new_miner. is_none ( ) {
772
772
crate :: monitoring:: actions:: increment_signer_agreement_state_conflict (
773
773
crate :: monitoring:: SignerAgreementStateConflict :: MinerView ,
You can’t perform that action at this time.
0 commit comments