File tree Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -633,18 +633,16 @@ impl LocalStateMachine {
633
633
* tx_replay_scope = Some ( new_scope) ;
634
634
}
635
635
}
636
- } else {
637
- if Self :: handle_possible_replay_failsafe (
638
- & replay_state,
639
- & expected_burn_block,
640
- client,
641
- ) ? {
642
- info ! (
636
+ } else if Self :: handle_possible_replay_failsafe (
637
+ & replay_state,
638
+ & expected_burn_block,
639
+ client,
640
+ ) ? {
641
+ info ! (
643
642
"Signer state: replay set is stalled after 2 tenures. Clearing the replay set."
644
643
) ;
645
- tx_replay_set = ReplayTransactionSet :: none ( ) ;
646
- * tx_replay_scope = None ;
647
- }
644
+ tx_replay_set = ReplayTransactionSet :: none ( ) ;
645
+ * tx_replay_scope = None ;
648
646
}
649
647
}
650
648
@@ -1198,7 +1196,7 @@ impl LocalStateMachine {
1198
1196
Ok ( Some ( Self :: get_forked_txs_from_fork_info ( & fork_info) ) )
1199
1197
}
1200
1198
1201
- fn get_forked_txs_from_fork_info ( fork_info : & Vec < TenureForkingInfo > ) -> Vec < StacksTransaction > {
1199
+ fn get_forked_txs_from_fork_info ( fork_info : & [ TenureForkingInfo ] ) -> Vec < StacksTransaction > {
1202
1200
// Collect transactions to be replayed across the forked blocks
1203
1201
let mut forked_blocks = fork_info
1204
1202
. iter ( )
You can’t perform that action at this time.
0 commit comments