You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let mut commitment_update = if self.context.signer_pending_commitment_update {
@@ -6602,14 +6612,6 @@ impl<SP: Deref> Channel<SP> where
6602
6612
return None;
6603
6613
}
6604
6614
6605
-
// If we're still pending the signature on a funding transaction, then we're not ready to send a
6606
-
// channel_ready yet.
6607
-
if self.context.signer_pending_funding {
6608
-
// TODO: set signer_pending_channel_ready
6609
-
log_debug!(logger, "Can't produce channel_ready: the signer is pending funding.");
6610
-
return None;
6611
-
}
6612
-
6613
6615
// Note that we don't include ChannelState::WaitingForBatch as we don't want to send
6614
6616
// channel_ready until the entire batch is ready.
6615
6617
let need_commitment_update = if matches!(self.context.channel_state, ChannelState::AwaitingChannelReady(f) if f.clone().clear(FundedStateFlags::ALL.into()).is_empty()) {
@@ -6655,6 +6657,17 @@ impl<SP: Deref> Channel<SP> where
6655
6657
return None;
6656
6658
}
6657
6659
6660
+
// If we're still pending the signature on a funding transaction, then we're not ready to send a
6661
+
// channel_ready yet.
6662
+
if self.context.signer_pending_funding {
6663
+
log_debug!(logger, "Can't produce channel_ready: the signer is pending funding.");
6664
+
// We make sure to set the channel ready flag here so that we try to
6665
+
// generate a channel ready for 0conf channels once our signer unblocked
0 commit comments