mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-18 21:32:27 +01:00
Fix: Poll of Lightning Invoice status might fail on LND if LNURL is used (#4910)
This commit is contained in:
parent
39b76c08de
commit
cb3c5e56fd
@ -47,7 +47,7 @@
|
||||
<ItemGroup>
|
||||
<PackageReference Include="BIP78.Sender" Version="0.2.2" />
|
||||
<PackageReference Include="BTCPayServer.Hwi" Version="2.0.2" />
|
||||
<PackageReference Include="BTCPayServer.Lightning.All" Version="1.4.22" />
|
||||
<PackageReference Include="BTCPayServer.Lightning.All" Version="1.4.23" />
|
||||
<PackageReference Include="CsvHelper" Version="15.0.5" />
|
||||
<PackageReference Include="Dapper" Version="2.0.123" />
|
||||
<PackageReference Include="Fido2" Version="2.0.2" />
|
||||
|
@ -221,7 +221,7 @@ namespace BTCPayServer.Payments.Lightning
|
||||
}));
|
||||
leases.Add(_Aggregator.Subscribe<Events.InvoiceNewPaymentDetailsEvent>(inv =>
|
||||
{
|
||||
if (inv.PaymentMethodId.PaymentType == LNURLPayPaymentType.Instance)
|
||||
if (inv.PaymentMethodId.PaymentType == LNURLPayPaymentType.Instance && !string.IsNullOrEmpty(inv.InvoiceId))
|
||||
{
|
||||
_memoryCache.Remove(GetCacheKey(inv.InvoiceId));
|
||||
_CheckInvoices.Writer.TryWrite(inv.InvoiceId);
|
||||
|
@ -245,8 +245,6 @@ Global
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(NestedProjects) = preSolution
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {203A3162-BE45-4721-937D-6804E0E1AFF8}
|
||||
EndGlobalSection
|
||||
|
Loading…
Reference in New Issue
Block a user