Skip to content

Commit 36ad1c0

Browse files
committed
Clear interactive_tx_signing_session upon splice promotion
Once splice has been promoted, the interactive_tx_signing_session is no longer needed. Clear it at this time to prevent being in an inconsistent state.
1 parent d8028c0 commit 36ad1c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lightning/src/ln/channel.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6093,6 +6093,7 @@ macro_rules! promote_splice_funding {
60936093
$self.context.historical_scids.push(scid);
60946094
}
60956095
core::mem::swap(&mut $self.funding, $funding);
6096+
$self.interactive_tx_signing_session = None;
60966097
$self.pending_splice = None;
60976098
$self.pending_funding.clear();
60986099
$self.context.announcement_sigs_state = AnnouncementSigsState::NotSent;

0 commit comments

Comments
 (0)