@@ -7349,17 +7349,6 @@ impl<SP: Deref> Channel<SP> where
7349
7349
return None;
7350
7350
}
7351
7351
7352
- // If we're still pending the signature on a funding transaction, then we're not ready to send a
7353
- // channel_ready yet.
7354
- if self.context.signer_pending_funding {
7355
- log_debug!(logger, "Can't produce channel_ready: the signer is pending funding.");
7356
- // We make sure to set the channel ready flag here so that we try to
7357
- // generate a channel ready for 0conf channels once our signer unblocked
7358
- // for funding.
7359
- self.context.signer_pending_channel_ready = true;
7360
- return None;
7361
- }
7362
-
7363
7352
self.get_channel_ready(logger)
7364
7353
}
7365
7354
@@ -8533,7 +8522,8 @@ impl<SP: Deref> OutboundV1Channel<SP> where SP::Target: SignerProvider {
8533
8522
holder_commitment_point,
8534
8523
};
8535
8524
8536
- let need_channel_ready = channel.check_get_channel_ready(0, logger).is_some();
8525
+ let need_channel_ready = channel.check_get_channel_ready(0, logger).is_some()
8526
+ || channel.context.signer_pending_channel_ready;
8537
8527
channel.monitor_updating_paused(false, false, need_channel_ready, Vec::new(), Vec::new(), Vec::new());
8538
8528
Ok((channel, channel_monitor))
8539
8529
}
@@ -8802,7 +8792,8 @@ impl<SP: Deref> InboundV1Channel<SP> where SP::Target: SignerProvider {
8802
8792
interactive_tx_signing_session: None,
8803
8793
holder_commitment_point,
8804
8794
};
8805
- let need_channel_ready = channel.check_get_channel_ready(0, logger).is_some();
8795
+ let need_channel_ready = channel.check_get_channel_ready(0, logger).is_some()
8796
+ || channel.context.signer_pending_channel_ready;
8806
8797
channel.monitor_updating_paused(false, false, need_channel_ready, Vec::new(), Vec::new(), Vec::new());
8807
8798
8808
8799
Ok((channel, funding_signed, channel_monitor))
0 commit comments