Skip to content

Commit

Permalink
revert(core): lookup payment only by payment hash (#4420)
Browse files Browse the repository at this point in the history
This reverts commit dc50d89.
  • Loading branch information
vindard committed May 7, 2024
1 parent 79341a7 commit 6513270
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion core/api/src/app/payments/update-pending-payments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
{
Expand Down

0 comments on commit 6513270

Please sign in to comment.