What changed, and why it matters
This commit simply removes a warning message that told users when their lightning connection string was using an old, outdated format. No security behavior changed; the code still accepts the same strings and works the same way. It is a cleanup, not a security fix.
No security action needed. Treat as routine code cleanup.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff deletes a conditional block that compared the normalized lightning client string to the original config value and logged a deprecation warning if they differed. The surrounding logic that parses the lightning string and registers the client in InternalLightningByCryptoCode remains unchanged. There is no input validation, authorization, cryptographic, or sandboxing change.
Changed components
BTCPayServer/Hosting/BTCPayServerServices.csInspect captured patch +0 / −6
### BTCPayServer/Hosting/BTCPayServerServices.cs
@@ -261,12 +261,6 @@ public static IServiceCollection AddBTCPayServer(this IServiceCollection service
}
else
{
- if (lightningClient.ToString() != lightning)
- {
- logs.Configuration.LogWarning(
- $"Setting {net.CryptoCode}.lightning is a deprecated format ({lightning}), it will work now, but please replace it for future versions with '{lightningClient}'");
- }
-
options.InternalLightningByCryptoCode.Add(net.CryptoCode, lightningClient);
}
}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.