Skip to content

Commit 4c5ecf8

Browse files
committed
f - fix linter
1 parent 187ec9b commit 4c5ecf8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lightning/src/ln/channel.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6821,9 +6821,8 @@ where
68216821
let splice_funding_failed =
68226822
if matches!(self.context.channel_state, ChannelState::ChannelReady(_)) {
68236823
self.reset_pending_splice_state().or_else(|| {
6824-
self.quiescent_action.take().and_then(|quiescent_action| match quiescent_action
6825-
{
6826-
QuiescentAction::Splice(instructions) => {
6824+
match self.quiescent_action.take() {
6825+
Some(QuiescentAction::Splice(instructions)) => {
68276826
self.context.channel_state.clear_awaiting_quiescence();
68286827
let (inputs, outputs) =
68296828
instructions.into_contributed_inputs_and_outputs();
@@ -6835,11 +6834,12 @@ where
68356834
})
68366835
},
68376836
#[cfg(any(test, fuzzing))]
6838-
_ => {
6837+
Some(quiescent_action) => {
68396838
self.quiescent_action = Some(quiescent_action);
68406839
None
68416840
},
6842-
})
6841+
None => None,
6842+
}
68436843
})
68446844
} else {
68456845
None

0 commit comments

Comments
 (0)