up
This commit is contained in:
parent
e59373f707
commit
eff1c204eb
1 changed files with 3 additions and 1 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,4 +25,6 @@ export const PayInvoiceReq = (invoice: string, amount: number, feeLimit: number)
|
||||||
paymentHash: Buffer.alloc(0),
|
paymentHash: Buffer.alloc(0),
|
||||||
routeHints: [],
|
routeHints: [],
|
||||||
timePref: 0,
|
timePref: 0,
|
||||||
|
|
||||||
|
outgoingChanId: '0'
|
||||||
})
|
})
|
||||||
Loading…
Add table
Add a link
Reference in a new issue