Skip to content

Commit e358297

Browse files
committed
f use computed txid from signing session when setting next_funding_txid
1 parent e9dfc8d commit e358297

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/channel.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8697,7 +8697,7 @@ impl<SP: Deref> FundedChannel<SP> where
86978697
// Since we have a signing_session, this implies we've sent an initial `commitment_signed`...
86988698
if !signing_session.has_received_tx_signatures() {
86998699
// ...but we didn't receive a `tx_signatures` from the counterparty yet.
8700-
Some(self.funding_outpoint().txid)
8700+
Some(signing_session.unsigned_tx().compute_txid())
87018701
} else {
87028702
// ...and we received a `tx_signatures` from the counterparty.
87038703
None

0 commit comments

Comments
 (0)