mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 06:24:24 +01:00
Fix new store incorrectly showing lightning enabled even if not
This commit is contained in:
@@ -547,7 +547,7 @@ namespace BTCPayServer.Controllers
|
||||
{
|
||||
CryptoCode = paymentMethodId.CryptoCode,
|
||||
Address = lightning?.GetDisplayableConnectionString(),
|
||||
Enabled = !excludeFilters.Match(paymentMethodId)
|
||||
Enabled = !excludeFilters.Match(paymentMethodId) && lightning != null
|
||||
});
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user