mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
loopins: add private flag when creating invoice
This commit is contained in:
parent
3e3c863819
commit
51bdf040e3
2 changed files with 3 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -103,6 +103,7 @@ func (f *FSM) InitHtlcAction(ctx context.Context,
|
|||
Memo: "static address loop-in",
|
||||
Expiry: 3600 * 24 * 365,
|
||||
RouteHints: f.loopIn.RouteHints,
|
||||
Private: true,
|
||||
},
|
||||
)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue