mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 14:34:23 +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,
|
CryptoCode = paymentMethodId.CryptoCode,
|
||||||
Address = lightning?.GetDisplayableConnectionString(),
|
Address = lightning?.GetDisplayableConnectionString(),
|
||||||
Enabled = !excludeFilters.Match(paymentMethodId)
|
Enabled = !excludeFilters.Match(paymentMethodId) && lightning != null
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user