We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc82bde commit 5cd15dfCopy full SHA for 5cd15df
lightning/src/ln/channel.rs
@@ -3577,7 +3577,7 @@ impl<SP: Deref> ChannelContext<SP> where SP::Target: SignerProvider {
3577
3578
fn unset_funding_info(&mut self, funding: &mut FundingScope) {
3579
debug_assert!(
3580
- matches!(self.channel_state, ChannelState::FundingNegotiated(_))
+ matches!(self.channel_state, ChannelState::FundingNegotiated(flags) if !flags.is_their_tx_signatures_sent() && !flags.is_our_tx_signatures_ready())
3581
|| matches!(self.channel_state, ChannelState::AwaitingChannelReady(_))
3582
);
3583
funding.channel_transaction_parameters.funding_outpoint = None;
0 commit comments