From eff1c204eb90a386789aac96af9c083812d7a02b Mon Sep 17 00:00:00 2001 From: boufni95 Date: Mon, 23 Oct 2023 19:53:52 +0200 Subject: [PATCH] up --- src/services/lnd/payInvoiceReq.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/services/lnd/payInvoiceReq.ts b/src/services/lnd/payInvoiceReq.ts index 47d0766b..dd45dad1 100644 --- a/src/services/lnd/payInvoiceReq.ts +++ b/src/services/lnd/payInvoiceReq.ts @@ -1,6 +1,6 @@ import { OpenChannelRequest } from "../../../proto/lnd/lightning"; import { SendPaymentRequest } from "../../../proto/lnd/router"; -//@ts-ignore + export const PayInvoiceReq = (invoice: string, amount: number, feeLimit: number): SendPaymentRequest => ({ amt: BigInt(amount), feeLimitSat: BigInt(feeLimit), @@ -25,4 +25,6 @@ export const PayInvoiceReq = (invoice: string, amount: number, feeLimit: number) paymentHash: Buffer.alloc(0), routeHints: [], timePref: 0, + + outgoingChanId: '0' }) \ No newline at end of file