File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -7649,7 +7649,20 @@ where
7649
7649
.provide_holder_witnesses(self.context.channel_id, witnesses)
7650
7650
.map_err(|err| APIError::APIMisuseError { err })?
7651
7651
{
7652
- if self.is_awaiting_initial_mon_persist() {
7652
+ #[cfg(splicing)]
7653
+ let is_monitor_update_in_progress = self.is_awaiting_initial_mon_persist()
7654
+ || self
7655
+ .pending_splice
7656
+ .as_ref()
7657
+ .and_then(|pending_splice| Some(pending_splice.funding.is_some()))
7658
+ .unwrap_or(false) && self
7659
+ .context
7660
+ .channel_state
7661
+ .is_monitor_update_in_progress();
7662
+ #[cfg(not(splicing))]
7663
+ let is_monitor_update_in_progress = self.is_awaiting_initial_mon_persist();
7664
+
7665
+ if is_monitor_update_in_progress {
7653
7666
log_debug!(logger, "Not sending tx_signatures: a monitor update is in progress. Setting monitor_pending_tx_signatures.");
7654
7667
self.context.monitor_pending_tx_signatures = Some(holder_tx_signatures);
7655
7668
return Ok(None);
You can’t perform that action at this time.
0 commit comments