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 @@ -7604,7 +7604,20 @@ where
7604
7604
.provide_holder_witnesses(self.context.channel_id, witnesses)
7605
7605
.map_err(|err| APIError::APIMisuseError { err })?
7606
7606
{
7607
- if self.is_awaiting_initial_mon_persist() {
7607
+ #[cfg(splicing)]
7608
+ let is_monitor_update_in_progress = self.is_awaiting_initial_mon_persist()
7609
+ || self
7610
+ .pending_splice
7611
+ .as_ref()
7612
+ .and_then(|pending_splice| Some(pending_splice.funding.is_some()))
7613
+ .unwrap_or(false) && self
7614
+ .context
7615
+ .channel_state
7616
+ .is_monitor_update_in_progress();
7617
+ #[cfg(not(splicing))]
7618
+ let is_monitor_update_in_progress = self.is_awaiting_initial_mon_persist();
7619
+
7620
+ if is_monitor_update_in_progress {
7608
7621
log_debug!(logger, "Not sending tx_signatures: a monitor update is in progress. Setting monitor_pending_tx_signatures.");
7609
7622
self.context.monitor_pending_tx_signatures = Some(holder_tx_signatures);
7610
7623
return Ok(None);
You can’t perform that action at this time.
0 commit comments