Skip to content

Commit 77d2b7f

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 67b9941 commit 77d2b7f

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
@@ -6101,6 +6101,7 @@ macro_rules! promote_splice_funding {
61016101
$self.context.historical_scids.push(scid);
61026102
}
61036103
core::mem::swap(&mut $self.funding, $funding);
6104+
$self.interactive_tx_signing_session = None;
61046105
$self.pending_splice = None;
61056106
$self.pending_funding.clear();
61066107
$self.context.announcement_sigs_state = AnnouncementSigsState::NotSent;

0 commit comments

Comments
 (0)