fix hint blind conflict

This commit is contained in:
shocknet-justin 2025-10-04 10:19:09 -04:00
parent 7fc314e002
commit 86efd923d6

View file

@ -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 => ({
expiry: BigInt(expiry),
memo: memo || "",
private: privateHints,
private: blind ? false : privateHints,
value: BigInt(value),
fallbackAddr: "",