This commit is contained in:
boufni95 2023-10-23 19:50:49 +02:00
parent f16620f4f2
commit e59373f707

View file

@ -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,6 +25,4 @@ export const PayInvoiceReq = (invoice: string, amount: number, feeLimit: number)
paymentHash: Buffer.alloc(0),
routeHints: [],
timePref: 0,
//@ts-ignore
outgoingChanId: undefined
})