From 6c34e327ab8c4c11b8e2e0446853bc4ca33955f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?dni=20=E2=9A=A1?= Date: Tue, 3 Sep 2024 16:28:15 +0200 Subject: [PATCH] fix: check payment with incoming payment internal invoices did not work --- views_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views_api.py b/views_api.py index 0f0fb69..ed22585 100644 --- a/views_api.py +++ b/views_api.py @@ -140,7 +140,7 @@ async def api_ticket_send_ticket(payment_hash): raise HTTPException( status_code=HTTPStatus.NOT_FOUND, detail="LNTicket does not exist." ) - payment = await get_standalone_payment(payment_hash) + payment = await get_standalone_payment(payment_hash, incoming=True) if not payment: raise HTTPException( status_code=HTTPStatus.NOT_FOUND, detail="Payment does not exist."