direct call to pay type instance

This commit is contained in:
Kukks
2023-06-01 12:07:07 +02:00
parent 3823f9461c
commit 68a291c705
5 changed files with 8 additions and 8 deletions

View File

@@ -154,7 +154,7 @@ public class Zapper : IHostedService
{
if (arg.EventCode != InvoiceEventCode.Completed && arg.EventCode != InvoiceEventCode.MarkedCompleted)
return;
var pm = arg.Invoice.GetPaymentMethod(new PaymentMethodId("BTC", PaymentTypes.LNURLPay));
var pm = arg.Invoice.GetPaymentMethod(new PaymentMethodId("BTC", LNURLPayPaymentType.Instance));
if (pm is null)
{
return;