Skip to content

Commit

Permalink
loopins: add private flag when creating invoice
Browse files Browse the repository at this point in the history
  • Loading branch information
sputn1ck committed Jan 21, 2025
1 parent 0c599fc commit 81130f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions loopin.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 {
Expand Down
1 change: 1 addition & 0 deletions staticaddr/loopin/actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 81130f7

Please sign in to comment.