From 1fcf39d4abc02d275f70a0fd680dc9c617f73eec Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Tue, 9 Mar 2021 17:56:17 +0900 Subject: [PATCH] Fix new store incorrectly showing lightning enabled even if not --- BTCPayServer/Controllers/StoresController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BTCPayServer/Controllers/StoresController.cs b/BTCPayServer/Controllers/StoresController.cs index f9c3bd1bb..52b870fd9 100644 --- a/BTCPayServer/Controllers/StoresController.cs +++ b/BTCPayServer/Controllers/StoresController.cs @@ -547,7 +547,7 @@ namespace BTCPayServer.Controllers { CryptoCode = paymentMethodId.CryptoCode, Address = lightning?.GetDisplayableConnectionString(), - Enabled = !excludeFilters.Match(paymentMethodId) + Enabled = !excludeFilters.Match(paymentMethodId) && lightning != null }); break; }