Skip to content

Commit 4038bbf

Browse files
committed
Reset interactive signing session fields after funding tx signed
1 parent e797180 commit 4038bbf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lightning/src/ln/channel.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6708,8 +6708,10 @@ impl<SP: Deref> FundedChannel<SP> where
67086708
self.context.channel_state.set_their_tx_signatures_sent();
67096709

67106710
if funding_tx_opt.is_some() {
6711-
// We have a finalized funding transaction, so we can set the funding transaction.
6711+
// We have a finalized funding transaction, so we can set the funding transaction and reset the
6712+
// signing session fields.
67126713
self.funding.funding_transaction = funding_tx_opt.clone();
6714+
self.interactive_tx_signing_session = None;
67136715
}
67146716

67156717
// Note that `holder_tx_signatures_opt` will be `None` if we sent `tx_signatures` first, so this

0 commit comments

Comments
 (0)