Skip to content

Commit 41cbc1f

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 bb5ef8e commit 41cbc1f

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

0 commit comments

Comments
 (0)