Skip to content

Commit be3b93a

Browse files
committed
Add a quick TODO about merging cp- and locally-initiated splices
1 parent 26a4cb0 commit be3b93a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lightning/src/ln/channel.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10881,6 +10881,11 @@ where
1088110881
})?;
1088210882
debug_assert!(interactive_tx_constructor.take_initiator_first_message().is_none());
1088310883

10884+
// TODO(splicing): if post_quiescence_action is set, integrate what the user wants to do
10885+
// into the counterparty-initiated splice. For always-on nodes this probably isn't a useful
10886+
// optimization, but for often-offline nodes it may be, as we may connect and immediately
10887+
// go into splicing from both sides.
10888+
1088410889
let funding_pubkey = splice_funding.get_holder_pubkeys().funding_pubkey;
1088510890

1088610891
self.pending_splice = Some(PendingSplice {

0 commit comments

Comments
 (0)