Skip to content

Commit 0fb8bdd

Browse files
committed
Reset interactive signing session fields after funding tx signed
1 parent 217a5b0 commit 0fb8bdd

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

lightning/src/ln/channel.rs

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

68626862
if funding_tx_opt.is_some() {
6863-
// We have a finalized funding transaction, so we can set the funding transaction.
6863+
// We have a finalized funding transaction, so we can set the funding transaction and reset the
6864+
// signing session fields.
68646865
self.funding.funding_transaction = funding_tx_opt.clone();
6866+
self.interactive_tx_signing_session = None;
68656867
}
68666868

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

0 commit comments

Comments
 (0)