loopins: add private flag when creating invoice

This commit is contained in:
sputn1ck 2025-01-21 12:39:38 +01:00
parent 3e3c863819
commit 51bdf040e3
No known key found for this signature in database
GPG key ID: 671103D881A5F0E4
2 changed files with 3 additions and 0 deletions

View file

@ -177,6 +177,7 @@ func newLoopInSwap(globalCtx context.Context, cfg *swapConfig,
Memo: "swap",
Expiry: 3600 * 24 * 365,
RouteHints: request.RouteHints,
Private: true,
},
)
if err != nil {
@ -197,6 +198,7 @@ func newLoopInSwap(globalCtx context.Context, cfg *swapConfig,
Memo: "loop in probe",
Expiry: 3600,
RouteHints: request.RouteHints,
Private: true,
},
)
if err != nil {