hsm_control: fixup! old comment
What changed, and why it matters
This commit removes an outdated comment above a function declaration. The comment said a function gets and checks a derived public key, but the function apparently no longer performs the check part. There is no code change, only a documentation cleanup.
No security action needed. This is a non-functional comment cleanup.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The patch deletes a single stale comment (‘/ Get (and check!) a bip32 derived pubkey /’) from lightningd/hsm_control.h. The function signature for bip32_pubkey is unchanged, and no executable code is modified. The change is purely a header comment fixup.
Changed components
lightningd/hsm_control.hInspect captured patch +0 / −1
diff --git a/lightningd/hsm_control.h b/lightningd/hsm_control.h
index ff16954f..f1262e9a 100644
--- a/lightningd/hsm_control.h
+++ b/lightningd/hsm_control.h
@@ -27,7 +27,6 @@ const u8 *hsm_sync_req(const tal_t *ctx,
struct lightningd *ld,
const u8 *msg TAKES);
-/* Get (and check!) a bip32 derived pubkey */
void bip32_pubkey(struct lightningd *ld, struct pubkey *pubkey, u32 index);
void bip86_pubkey(struct lightningd *ld, struct pubkey *pubkey, u32 index);
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.