Update BOLT quotes channeld/channeld.c: Some BOLT quotes had changed slightly.
What changed, and why it matters
This commit only updates a quoted comment from the Lightning protocol specification (BOLT #2) inside the source code. The actual code logic is unchanged. It is a documentation/comment cleanup with no security relevance.
No action required. This is a non-functional comment update.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff modifies a single comment block in channeld/channeld.c that quotes BOLT #2 rules about channel_reestablish handling. The surrounding C code is identical before and after; only the quoted specification text was refreshed to match a newer revision of the BOLT. No functional change.
Changed components
channeld/channeld.c (comment only)Inspect captured patch +1 / −3
diff --git a/channeld/channeld.c b/channeld/channeld.c
index ca8d300b..742ac704 100644
--- a/channeld/channeld.c
+++ b/channeld/channeld.c
@@ -5968,9 +5968,7 @@ static void peer_reconnect(struct peer *peer,
/* BOLT #2:
*
* - if `next_commitment_number` is 1 in both the
- * `channel_reestablish` it sent and received, and none of those
- * `channel_reestablish` messages contain `my_current_funding_locked` or
- * `next_funding` for a splice transaction:
+ * `channel_reestablish` it sent and received:
* - MUST retransmit `channel_ready`.
* - otherwise:
* - MUST NOT retransmit `channel_ready`, but MAY send `channel_ready` with
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.