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 b14ca39 commit 08ba0c2Copy full SHA for 08ba0c2
lightning/src/ln/channel.rs
@@ -3509,6 +3509,8 @@ impl<Signer: Sign> Channel<Signer> {
3509
let non_shutdown_state = self.channel_state & (!MULTI_STATE_FLAGS);
3510
for &(index_in_block, tx) in txdata.iter() {
3511
if let Some(funding_txo) = self.get_funding_txo() {
3512
+ // If we haven't yet sent a funding_locked, but are in FundingSent (ignoring
3513
+ // whether they've sent a funding_locked or not), check if we should send one.
3514
if non_shutdown_state & !(ChannelState::TheirFundingLocked as u32) == ChannelState::FundingSent as u32 {
3515
if tx.txid() == funding_txo.txid {
3516
let txo_idx = funding_txo.index as usize;
0 commit comments