Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
boufni95 committed Aug 23, 2024
1 parent fe780a1 commit bd49a74
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/services/lnd/addInvoiceReq.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})
4 changes: 3 additions & 1 deletion src/services/lnd/openChannelReq.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ export const OpenChannelReq = (destination: string, closeAddress: string, fundin
scidAlias: false,
nodePubkeyString: "",
satPerByte: 0n,

fundMax: false,
memo: "",
outpoints: [],
fundingShim: undefined
})
6 changes: 4 additions & 2 deletions src/services/lnd/sendCoinsReq.ts
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -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: [],
})

0 comments on commit bd49a74

Please sign in to comment.