diff --git a/BTCPayServer/Payments/Lightning/LightningPendingPayoutListener.cs b/BTCPayServer/Payments/Lightning/LightningPendingPayoutListener.cs index c20179c9f..8577e7fca 100644 --- a/BTCPayServer/Payments/Lightning/LightningPendingPayoutListener.cs +++ b/BTCPayServer/Payments/Lightning/LightningPendingPayoutListener.cs @@ -98,7 +98,7 @@ public class LightningPendingPayoutListener : BaseAsyncService try { if (proof is not null) - payment = await client.GetPayment(proof.Id, CancellationToken); + payment = await client.GetPayment(proof.PaymentHash, CancellationToken); } catch {