What changed, and why it matters
This commit removes one blank line in a test file to satisfy a code linter. It does not change any program logic, behavior, or security-relevant code.
Recommended action
No action needed; this is a non-functional lint fix in test code.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff deletes an extra blank line inside the genInfo function in payments/db/payment_test.go. This is a formatting-only change in test code with no functional or security impact.
Changed components
payments/db/payment_test.goInspect captured patch +0 / −1
diff --git a/payments/db/payment_test.go b/payments/db/payment_test.go
index aa42b4e..5439a8b 100644
--- a/payments/db/payment_test.go
+++ b/payments/db/payment_test.go
@@ -426,7 +426,6 @@ func genAttemptWithHash(t *testing.T, attemptID uint64,
// genInfo generates a payment creation info and the corresponding preimage.
func genInfo(t *testing.T) (*PaymentCreationInfo, lntypes.Preimage, error) {
-
preimage, _, err := genPreimageAndHash(t)
if err != nil {
return nil, preimage, err
Risk score
Our methodology →Why this scored 15/100
Human-validated context
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
No validated notes yet.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.