We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46dec2f commit 7f59ca6Copy full SHA for 7f59ca6
lightning/src/ln/channel.rs
@@ -4150,8 +4150,8 @@ impl<SP: Deref> Channel<SP> where
4150
// first received the funding_signed.
4151
let mut funding_broadcastable =
4152
if self.context.is_outbound() &&
4153
- matches!(self.context.channel_state, ChannelState::AwaitingChannelReady(flags) if !flags.is_set(AwaitingChannelReadyFlags::WAITING_FOR_BATCH)) ||
4154
- matches!(self.context.channel_state, ChannelState::ChannelReady(_))
+ (matches!(self.context.channel_state, ChannelState::AwaitingChannelReady(flags) if !flags.is_set(AwaitingChannelReadyFlags::WAITING_FOR_BATCH)) ||
+ matches!(self.context.channel_state, ChannelState::ChannelReady(_)))
4155
{
4156
self.context.funding_transaction.take()
4157
} else { None };
0 commit comments