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 0624351 commit 919a1b0Copy full SHA for 919a1b0
lightning/src/ln/channel.rs
@@ -3493,7 +3493,7 @@ impl<SP: Deref> ChannelContext<SP> where SP::Target: SignerProvider {
3493
3494
fn unset_funding_info(&mut self, funding: &mut FundingScope) {
3495
debug_assert!(
3496
- 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())
3497
|| matches!(self.channel_state, ChannelState::AwaitingChannelReady(_))
3498
);
3499
funding.channel_transaction_parameters.funding_outpoint = None;
0 commit comments