File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -150,6 +150,7 @@ func loopIn(ctx *cli.Context) error {
150
150
ExternalHtlc : external ,
151
151
HtlcConfTarget : htlcConfTarget ,
152
152
Label : label ,
153
+ Initiator : defaultInitiator ,
153
154
}
154
155
155
156
if ctx .IsSet (lastHopFlag .Name ) {
Original file line number Diff line number Diff line change @@ -195,6 +195,7 @@ func loopOut(ctx *cli.Context) error {
195
195
HtlcConfirmations : htlcConfs ,
196
196
SwapPublicationDeadline : uint64 (swapDeadline .Unix ()),
197
197
Label : label ,
198
+ Initiator : defaultInitiator ,
198
199
})
199
200
if err != nil {
200
201
return err
Original file line number Diff line number Diff line change 48
48
// that we set when sending it over the line.
49
49
defaultMacaroonTimeout int64 = 60
50
50
51
+ // defaultInitiator is the default value for the "initiator" part of the
52
+ // user agent string we send when using the command line utility.
53
+ defaultInitiator = "loop-cli"
54
+
51
55
loopDirFlag = cli.StringFlag {
52
56
Name : "loopdir" ,
53
57
Value : loopd .LoopDirBase ,
You can’t perform that action at this time.
0 commit comments