Skip to content

Commit 41de9c5

Browse files
committed
Attempt queued splice after existing pending splice becomes locked
Since we don't yet support contributing to an incoming splice, we need to make sure we attempt our splice negotiation eventually if the counterparty was also attempting a splice at the same time but they won the quiescence tie-breaker. Since only one pending splice (without RBF) is allowed at a time, we do this after the existing splice becomes locked.
1 parent a70375b commit 41de9c5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lightning/src/ln/channel.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10931,6 +10931,12 @@ where
1093110931
let announcement_sigs =
1093210932
self.get_announcement_sigs(node_signer, chain_hash, user_config, block_height, logger);
1093310933

10934+
if let Some(quiescent_action) = self.quiescent_action.as_ref() {
10935+
if matches!(quiescent_action, QuiescentAction::Splice(_)) {
10936+
self.context.channel_state.set_awaiting_quiescence();
10937+
}
10938+
}
10939+
1093410940
Some(SpliceFundingPromotion {
1093510941
funding_txo,
1093610942
monitor_update,

0 commit comments

Comments
 (0)