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,
|
||||
settleIndex: 0n,
|
||||
state: 0,
|
||||
|
||||
isBlinded: false,
|
||||
amtPaid: 0n,
|
||||
settled: false,
|
||||
})
|
||||
|
|
@ -28,6 +28,8 @@ export const OpenChannelReq = (destination: string, closeAddress: string, fundin
|
|||
scidAlias: false,
|
||||
nodePubkeyString: "",
|
||||
satPerByte: 0n,
|
||||
|
||||
fundMax: false,
|
||||
memo: "",
|
||||
outpoints: [],
|
||||
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 => ({
|
||||
addr: address,
|
||||
|
|
@ -9,5 +9,7 @@ export const SendCoinsReq = (address: string, amount: number, satPerVByte: numbe
|
|||
minConfs: 1,
|
||||
sendAll: 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