Skip to content

Commit 9766f21

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 844fbb9 commit 9766f21

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
@@ -6085,6 +6085,7 @@ macro_rules! promote_splice_funding {
60856085
$self.context.historical_scids.push(scid);
60866086
}
60876087
core::mem::swap(&mut $self.funding, $funding);
6088+
$self.interactive_tx_signing_session = None;
60886089
$self.pending_splice = None;
60896090
$self.pending_funding.clear();
60906091
$self.context.announcement_sigs_state = AnnouncementSigsState::NotSent;

0 commit comments

Comments
 (0)