Skip to content

Commit f1f5f1b

Browse files
committed
f - fix outdated comment
1 parent 32f0f6b commit f1f5f1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/ln/channel.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8429,8 +8429,8 @@ impl<SP: Deref> FundedChannel<SP> where
84298429
self.context.channel_state.is_our_channel_ready() {
84308430
let mut funding_tx_confirmations = height as i64 - self.funding.funding_tx_confirmation_height as i64 + 1;
84318431
if self.funding.funding_tx_confirmation_height == 0 {
8432-
// Note that check_get_channel_ready may reset funding_tx_confirmation_height to
8433-
// zero if it has been reorged out, however in either case, our state flags
8432+
// Note that transaction_unconfirmed may have reset funding_tx_confirmation_height
8433+
// to zero if it has been reorged out, however in either case, our state flags
84348434
// indicate we've already sent a channel_ready
84358435
funding_tx_confirmations = 0;
84368436
}

0 commit comments

Comments
 (0)