File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -447,7 +447,7 @@ impl LocalStateMachine {
447
447
// set self to uninitialized so that if this function errors,
448
448
// self is left as uninitialized.
449
449
let prior_state = std:: mem:: replace ( self , Self :: Uninitialized ) ;
450
- let prior_state_machine = match prior_state. clone ( ) {
450
+ let prior_state_machine = match prior_state {
451
451
// if the local state machine was uninitialized, just initialize it
452
452
LocalStateMachine :: Uninitialized => Self :: place_holder ( ) ,
453
453
LocalStateMachine :: Initialized ( signer_state_machine) => signer_state_machine,
@@ -525,6 +525,7 @@ impl LocalStateMachine {
525
525
current_miner : miner_state,
526
526
active_signer_protocol_version : prior_state_machine. active_signer_protocol_version ,
527
527
} ) ;
528
+
528
529
Ok ( ( ) )
529
530
}
530
531
}
You can’t perform that action at this time.
0 commit comments