Skip to content

Commit dd370e9

Browse files
committed
f clearer docs
1 parent a2e6039 commit dd370e9

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
@@ -776,9 +776,9 @@ pub(super) struct ChannelContext<SP: Deref> where SP::Target: SignerProvider {
776776

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

0 commit comments

Comments
 (0)