Update outdated BOLT quotes in several files. update BOLT quotes that drifted from the current spec without changing the meaning or expected functionality.
What changed, and why it matters
This commit only fixes formatting and wording in code comments that quote the BOLT specification. No actual program logic, behavior, or security checks were changed. It is not a security fix.
No action needed; this is a documentation/comment-only cleanup commit.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff updates two BOLT quote comments: a whitespace alignment in common/features.h and indentation/wording in a comment block in lightningd/channel_gossip.c. There are no functional code changes, no bug fixes, and no security-relevant modifications.
Changed components
common/features.hlightningd/channel_gossip.cInspect captured patch +5 / −5
diff --git a/common/features.h b/common/features.h
index 28615736..62553401 100644
--- a/common/features.h
+++ b/common/features.h
@@ -113,7 +113,7 @@ struct feature_set *feature_set_dup(const tal_t *ctx,
* | 16/17 | `basic_mpp` |... IN9 ...
* | 18/19 | `option_support_large_channel` |... IN ...
* | 22/23 | `option_anchors` |... INT ...
- * | 24/25 | `option_route_blinding` |...IN9 ...
+ * | 24/25 | `option_route_blinding` |... IN9 ...
* | 26/27 | `option_shutdown_anysegwit` |... IN ...
* | 28/29 | `option_dual_fund` |... IN ...
* | 34/35 | `option_quiesce` |... IN ...
diff --git a/lightningd/channel_gossip.c b/lightningd/channel_gossip.c
index 63088b17..53c67e71 100644
--- a/lightningd/channel_gossip.c
+++ b/lightningd/channel_gossip.c
@@ -687,10 +687,10 @@ static void stash_remote_announce_sigs(struct channel *channel,
* A node:
* - If the `open_channel` message has the `announce_channel` bit set AND a
* `shutdown` message has not been sent:
- * - After `channel_ready` has been sent and received AND the funding
- * transaction has enough confirmations to ensure that it won't be
- * reorganized:
- * - MUST send `announcement_signatures` for the funding transaction.
+ * - After `channel_ready` has been sent and received AND the funding
+ * transaction has enough confirmations to ensure that it won't be
+ * reorganized:
+ * - MUST send `announcement_signatures` for the funding transaction....
* - Otherwise:
* - MUST NOT send the `announcement_signatures` message.
*/
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.