Skip to content

Commit 51bdf04

Browse files
committed
loopins: add private flag when creating invoice
1 parent 3e3c863 commit 51bdf04

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

loopin.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ func newLoopInSwap(globalCtx context.Context, cfg *swapConfig,
177177
Memo: "swap",
178178
Expiry: 3600 * 24 * 365,
179179
RouteHints: request.RouteHints,
180+
Private: true,
180181
},
181182
)
182183
if err != nil {
@@ -197,6 +198,7 @@ func newLoopInSwap(globalCtx context.Context, cfg *swapConfig,
197198
Memo: "loop in probe",
198199
Expiry: 3600,
199200
RouteHints: request.RouteHints,
201+
Private: true,
200202
},
201203
)
202204
if err != nil {

staticaddr/loopin/actions.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ func (f *FSM) InitHtlcAction(ctx context.Context,
103103
Memo: "static address loop-in",
104104
Expiry: 3600 * 24 * 365,
105105
RouteHints: f.loopIn.RouteHints,
106+
Private: true,
106107
},
107108
)
108109
if err != nil {

0 commit comments

Comments
 (0)