We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
tx_signatures
1 parent 4621e97 commit c58d5b4Copy full SHA for c58d5b4
lightning/src/ln/channel.rs
@@ -6397,6 +6397,9 @@ impl<SP: Deref> FundedChannel<SP> where
6397
self.funding.funding_transaction = funding_tx_opt.clone();
6398
}
6399
6400
+ // Note that `holder_tx_signatures_opt` will be `None` if we sent `tx_signatures` first, so this
6401
+ // case checks if there is a monitor persist in progress when we need to respond with our `tx_signatures`
6402
+ // and sets it as pending.
6403
if holder_tx_signatures_opt.is_some() && self.is_awaiting_initial_mon_persist() {
6404
log_debug!(logger, "Not sending tx_signatures: a monitor update is in progress. Setting monitor_pending_tx_signatures.");
6405
self.context.monitor_pending_tx_signatures = holder_tx_signatures_opt;
0 commit comments