We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
tx_signatures
1 parent aecf6b8 commit 6525262Copy full SHA for 6525262
lightning/src/ln/channel.rs
@@ -6526,6 +6526,9 @@ impl<SP: Deref> FundedChannel<SP> where
6526
self.funding.funding_transaction = funding_tx_opt.clone();
6527
}
6528
6529
+ // Note that `holder_tx_signatures_opt` will be `None` if we sent `tx_signatures` first, so this
6530
+ // case checks if there is a monitor persist in progress when we need to respond with our `tx_signatures`
6531
+ // and sets it as pending.
6532
if holder_tx_signatures_opt.is_some() && self.is_awaiting_initial_mon_persist() {
6533
log_debug!(logger, "Not sending tx_signatures: a monitor update is in progress. Setting monitor_pending_tx_signatures.");
6534
self.context.monitor_pending_tx_signatures = holder_tx_signatures_opt;
0 commit comments