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
log_trace!(logger, "Signer unblocked with {} commitment_update, {} funding_signed and {} channel_ready",
@@ -6530,14 +6540,6 @@ impl<SP: Deref> Channel<SP> where
6530
6540
return None;
6531
6541
}
6532
6542
6533
-
// If we're still pending the signature on a funding transaction, then we're not ready to send a
6534
-
// channel_ready yet.
6535
-
if self.context.signer_pending_funding {
6536
-
// TODO: set signer_pending_channel_ready
6537
-
log_debug!(logger, "Can't produce channel_ready: the signer is pending funding.");
6538
-
return None;
6539
-
}
6540
-
6541
6543
// Note that we don't include ChannelState::WaitingForBatch as we don't want to send
6542
6544
// channel_ready until the entire batch is ready.
6543
6545
let need_commitment_update = if matches!(self.context.channel_state, ChannelState::AwaitingChannelReady(f) if f.clone().clear(FundedStateFlags::ALL.into()).is_empty()) {
@@ -6583,6 +6585,17 @@ impl<SP: Deref> Channel<SP> where
6583
6585
return None;
6584
6586
}
6585
6587
6588
+
// If we're still pending the signature on a funding transaction, then we're not ready to send a
6589
+
// channel_ready yet.
6590
+
if self.context.signer_pending_funding {
6591
+
log_debug!(logger, "Can't produce channel_ready: the signer is pending funding.");
6592
+
// We make sure to set the channel ready flag here so that we try to
6593
+
// generate a channel ready for 0conf channels once our signer unblocked
0 commit comments