File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -7025,9 +7025,10 @@ impl<SP: Deref> FundedChannel<SP> where
70257025
70267026 // if next_funding_txid is set:
70277027 let (commitment_update, tx_signatures, tx_abort) = if let Some(next_funding_txid) = msg.next_funding_txid {
7028- if let Some(session) = &self.interactive_tx_signing_session {
7028+ if let Some(session) = &self.interactive_tx_signing_session {
70297029 // if next_funding_txid matches the latest interactive funding transaction:
70307030 if session.unsigned_tx().compute_txid() == next_funding_txid {
7031+ debug_assert_eq!(session.unsigned_tx().compute_txid(), self.maybe_get_next_funding_txid().unwrap());
70317032 // if it has not received tx_signatures for that funding transaction:
70327033 if !session.counterparty_sent_tx_signatures() {
70337034 // if next_commitment_number is zero:
You can’t perform that action at this time.
0 commit comments