fix hint blind conflict
This commit is contained in:
parent
7fc314e002
commit
86efd923d6
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ import { OpenChannelRequest, Invoice } from "../../../proto/lnd/lightning";
|
||||||
export const AddInvoiceReq = (value: number, expiry = 60 * 60, privateHints = false, memo?: string, blind = false): Invoice => ({
|
export const AddInvoiceReq = (value: number, expiry = 60 * 60, privateHints = false, memo?: string, blind = false): Invoice => ({
|
||||||
expiry: BigInt(expiry),
|
expiry: BigInt(expiry),
|
||||||
memo: memo || "",
|
memo: memo || "",
|
||||||
private: privateHints,
|
private: blind ? false : privateHints,
|
||||||
value: BigInt(value),
|
value: BigInt(value),
|
||||||
|
|
||||||
fallbackAddr: "",
|
fallbackAddr: "",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue