Skip to content

Commit 05722b6

Browse files
committed
f clearer docs
1 parent 52836ff commit 05722b6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lightning/src/ln/channel.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -741,9 +741,9 @@ pub(super) struct ChannelContext<SP: Deref> where SP::Target: SignerProvider {
741741

742742
/// If we remove an HTLC (or fee update), commit, and receive our counterparty's
743743
/// `revoke_and_ack`, we remove all knowledge of said HTLC (or fee update). However, the latest
744-
/// local commitment transaction that we can broadcast still contains the HTLC (or old fee),
745-
/// thus we are not eligible for initiating the `closing_signed` negotiation if we're shutting
746-
/// down and are generally expecting a counterparty `commitment_signed` immediately.
744+
/// local commitment transaction that we can broadcast still contains the HTLC (or old fee)
745+
/// until we receive a further `commitment_signed`. Thus we are not eligible for initiating the
746+
/// `closing_signed` negotiation if we're expecting a counterparty `commitment_signed`.
747747
///
748748
/// To ensure we don't send a `closing_signed` too early, we track this state here, waiting
749749
/// until we see a `commitment_signed` before doing so.

0 commit comments

Comments
 (0)