up
This commit is contained in:
parent
f16620f4f2
commit
e59373f707
1 changed files with 1 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
import { OpenChannelRequest } from "../../../proto/lnd/lightning";
|
import { OpenChannelRequest } from "../../../proto/lnd/lightning";
|
||||||
import { SendPaymentRequest } from "../../../proto/lnd/router";
|
import { SendPaymentRequest } from "../../../proto/lnd/router";
|
||||||
|
//@ts-ignore
|
||||||
export const PayInvoiceReq = (invoice: string, amount: number, feeLimit: number): SendPaymentRequest => ({
|
export const PayInvoiceReq = (invoice: string, amount: number, feeLimit: number): SendPaymentRequest => ({
|
||||||
amt: BigInt(amount),
|
amt: BigInt(amount),
|
||||||
feeLimitSat: BigInt(feeLimit),
|
feeLimitSat: BigInt(feeLimit),
|
||||||
|
|
@ -25,6 +25,4 @@ export const PayInvoiceReq = (invoice: string, amount: number, feeLimit: number)
|
||||||
paymentHash: Buffer.alloc(0),
|
paymentHash: Buffer.alloc(0),
|
||||||
routeHints: [],
|
routeHints: [],
|
||||||
timePref: 0,
|
timePref: 0,
|
||||||
//@ts-ignore
|
|
||||||
outgoingChanId: undefined
|
|
||||||
})
|
})
|
||||||
Loading…
Add table
Add a link
Reference in a new issue