mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 22:44:29 +01:00
Add refund badge to invoice lists (#3918)
* Add refund badge to invoice lists * fix badge
This commit is contained in:
@@ -41,7 +41,7 @@ namespace BTCPayServer.Data.Payouts.LightningLike
|
||||
|
||||
public bool CanHandle(PaymentMethodId paymentMethod)
|
||||
{
|
||||
return paymentMethod.PaymentType == LightningPaymentType.Instance &&
|
||||
return (paymentMethod.PaymentType == LightningPaymentType.Instance || paymentMethod.PaymentType == LNURLPayPaymentType.Instance ) &&
|
||||
_btcPayNetworkProvider.GetNetwork<BTCPayNetwork>(paymentMethod.CryptoCode)?.SupportLightning is true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user