Skip to content

Commit 6ea63e2

Browse files
committed
f comments
1 parent e04a41f commit 6ea63e2

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lightning/src/ln/channel.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3524,14 +3524,12 @@ impl<Signer: Sign> Channel<Signer> {
35243524
self.update_time_counter += 1;
35253525
true
35263526
} else if non_shutdown_state == (ChannelState::FundingSent as u32 | ChannelState::OurFundingLocked as u32) {
3527-
// We got a reorg but not enough to trigger a force close, just update
3528-
// funding_tx_confirmed_in and return.
3527+
// We got a reorg but not enough to trigger a force close, just ignore.
35293528
false
35303529
} else if self.channel_state < ChannelState::ChannelFunded as u32 {
35313530
panic!("Started confirming a channel in a state pre-FundingSent?: {}", self.channel_state);
35323531
} else {
3533-
// We got a reorg but not enough to trigger a force close, just update
3534-
// funding_tx_confirmed_in and return.
3532+
// We got a reorg but not enough to trigger a force close, just ignore.
35353533
false
35363534
};
35373535

0 commit comments

Comments
 (0)