diff --git a/core/api/src/app/payments/update-pending-payments.ts b/core/api/src/app/payments/update-pending-payments.ts index 4f2d4e4015..e20accf0af 100644 --- a/core/api/src/app/payments/update-pending-payments.ts +++ b/core/api/src/app/payments/update-pending-payments.ts @@ -172,7 +172,10 @@ const updatePendingPayment = wrapAsyncToRunInSpan({ const lndService = LndService() if (lndService instanceof Error) return lndService - const lnPaymentLookup = await lndService.lookupPayment({ paymentHash }) + const lnPaymentLookup = await lndService.lookupPayment({ + pubkey, + paymentHash, + }) if (lnPaymentLookup instanceof Error) { logger.error( {