File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -639,7 +639,7 @@ impl LocalStateMachine {
639
639
& replay_state,
640
640
& expected_burn_block,
641
641
proposal_config. reset_replay_set_after_fork_blocks ,
642
- ) ? {
642
+ ) {
643
643
info ! (
644
644
"Signer state: replay set is stalled after {} tenures. Clearing the replay set." ,
645
645
proposal_config. reset_replay_set_after_fork_blocks
@@ -1243,16 +1243,16 @@ impl LocalStateMachine {
1243
1243
replay_state : & ReplayState ,
1244
1244
new_burn_block : & NewBurnBlock ,
1245
1245
reset_replay_set_after_fork_blocks : u64 ,
1246
- ) -> Result < bool , SignerChainstateError > {
1246
+ ) -> bool {
1247
1247
match replay_state {
1248
1248
ReplayState :: Unset => {
1249
1249
// not in replay - skip
1250
- Ok ( false )
1250
+ false
1251
1251
}
1252
1252
ReplayState :: InProgress ( _, replay_scope) => {
1253
1253
let failsafe_height =
1254
1254
replay_scope. past_tip . burn_block_height + reset_replay_set_after_fork_blocks;
1255
- Ok ( new_burn_block. burn_block_height > failsafe_height)
1255
+ new_burn_block. burn_block_height > failsafe_height
1256
1256
}
1257
1257
}
1258
1258
}
You can’t perform that action at this time.
0 commit comments