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 { 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'
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue