Skip to content

Commit 4d014c5

Browse files
committed
chore: fix clippy, #5971
1 parent 8950112 commit 4d014c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stacks-signer/src/v0/signer_state.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ impl LocalStateMachine {
602602
return Err(ClientError::InvalidResponse(err_msg).into());
603603
}
604604

605-
let replay_state = ReplayState::infer_state(&tx_replay_set, &tx_replay_scope);
605+
let replay_state = ReplayState::infer_state(&tx_replay_set, tx_replay_scope);
606606
if let Some(new_replay_state) = self.handle_possible_bitcoin_fork(
607607
db,
608608
client,
@@ -1118,7 +1118,7 @@ impl LocalStateMachine {
11181118
info!("Tx Replay: replay set will be cleared, because the fork involves the previous reward cycle.");
11191119
replay_state = ReplayState::Unset;
11201120
}
1121-
return Ok(Some(replay_state));
1121+
Ok(Some(replay_state))
11221122
}
11231123

11241124
/// Retrieves the set of transactions that were part of a Bitcoin fork within the same reward cycle.

0 commit comments

Comments
 (0)