Skip to content

Commit 199cbbf

Browse files
committed
f drop long-since stale comment that was the result of a 2017-era misunderstanding of the spec
1 parent 23e04d5 commit 199cbbf

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lightning/src/ln/channel.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3535,10 +3535,6 @@ impl<Signer: Sign> Channel<Signer> {
35353535
false
35363536
};
35373537

3538-
//TODO: Note that this must be a duplicate of the previous commitment point they sent us,
3539-
//as otherwise we will have a commitment transaction that they can't revoke (well, kinda,
3540-
//they can by sending two revoke_and_acks back-to-back, but not really). This appears to be
3541-
//a protocol oversight, but I assume I'm just missing something.
35423538
if need_commitment_update {
35433539
if self.channel_state & (ChannelState::MonitorUpdateFailed as u32) == 0 {
35443540
let next_per_commitment_point = self.holder_signer.get_per_commitment_point(self.cur_holder_commitment_transaction_number, &self.secp_ctx);

0 commit comments

Comments
 (0)