fuzz-tests: Remove unnecessary #includes in the BOLT #11 test
What changed, and why it matters
This commit simply removes unused header file imports from a fuzz testing file. It does not change any running code, fix a bug, or alter behavior. There is no security relevance.
No action needed. This is a benign cleanup commit.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The commit deletes four #include directives from tests/fuzz/fuzz-bolt11.c: bitcoin/chainparams.h, common/features.h, stddef.h, and stdio.h. These appear to have been unused dependencies in the BOLT #11 fuzz target. The change is purely a code cleanup with no functional modifications.
Changed components
tests/fuzz/fuzz-bolt11.cInspect captured patch +0 / −4
diff --git a/tests/fuzz/fuzz-bolt11.c b/tests/fuzz/fuzz-bolt11.c
index 37d08bd3..5eeeeda2 100644
--- a/tests/fuzz/fuzz-bolt11.c
+++ b/tests/fuzz/fuzz-bolt11.c
@@ -1,15 +1,11 @@
#include "config.h"
-#include <bitcoin/chainparams.h>
#include <bitcoin/privkey.h>
#include <common/bech32.h>
#include <common/bolt11.h>
-#include <common/features.h>
#include <common/setup.h>
#include <common/utils.h>
-#include <stddef.h>
#include <stdint.h>
-#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <tests/fuzz/libfuzz.h>
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.