fix
This commit is contained in:
parent
26299ae5db
commit
8621e9dfea
3 changed files with 8 additions and 4 deletions
|
|
@ -28,7 +28,7 @@ export const AddInvoiceReq = (value: number, expiry = 60 * 60, privateHints = fa
|
||||||
settleDate: 0n,
|
settleDate: 0n,
|
||||||
settleIndex: 0n,
|
settleIndex: 0n,
|
||||||
state: 0,
|
state: 0,
|
||||||
|
isBlinded: false,
|
||||||
amtPaid: 0n,
|
amtPaid: 0n,
|
||||||
settled: false,
|
settled: false,
|
||||||
})
|
})
|
||||||
|
|
@ -28,6 +28,8 @@ export const OpenChannelReq = (destination: string, closeAddress: string, fundin
|
||||||
scidAlias: false,
|
scidAlias: false,
|
||||||
nodePubkeyString: "",
|
nodePubkeyString: "",
|
||||||
satPerByte: 0n,
|
satPerByte: 0n,
|
||||||
|
fundMax: false,
|
||||||
|
memo: "",
|
||||||
|
outpoints: [],
|
||||||
fundingShim: undefined
|
fundingShim: undefined
|
||||||
})
|
})
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { SendCoinsRequest } from "../../../proto/lnd/lightning";
|
import { CoinSelectionStrategy, SendCoinsRequest } from "../../../proto/lnd/lightning";
|
||||||
|
|
||||||
export const SendCoinsReq = (address: string, amount: number, satPerVByte: number, label = ""): SendCoinsRequest => ({
|
export const SendCoinsReq = (address: string, amount: number, satPerVByte: number, label = ""): SendCoinsRequest => ({
|
||||||
addr: address,
|
addr: address,
|
||||||
|
|
@ -9,5 +9,7 @@ export const SendCoinsReq = (address: string, amount: number, satPerVByte: numbe
|
||||||
minConfs: 1,
|
minConfs: 1,
|
||||||
sendAll: false,
|
sendAll: false,
|
||||||
spendUnconfirmed: false,
|
spendUnconfirmed: false,
|
||||||
satPerByte: BigInt(0)
|
satPerByte: BigInt(0),
|
||||||
|
coinSelectionStrategy: CoinSelectionStrategy.STRATEGY_LARGEST,
|
||||||
|
outpoints: [],
|
||||||
})
|
})
|
||||||
Loading…
Add table
Add a link
Reference in a new issue