We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c01d968 commit 1392239Copy full SHA for 1392239
terminal.go
@@ -18,6 +18,7 @@ import (
18
"github.com/jessevdk/go-flags"
19
"github.com/lightninglabs/faraday/frdrpc"
20
"github.com/lightninglabs/lndclient"
21
+ "github.com/lightninglabs/loop"
22
"github.com/lightninglabs/loop/loopd"
23
"github.com/lightninglabs/loop/looprpc"
24
"github.com/lightningnetwork/lnd"
@@ -91,6 +92,10 @@ func (g *LightningTerminal) Run() error {
91
92
g.loopServer = loopd.New(g.cfg.Loop, nil)
93
g.rpcProxy = newRpcProxy(g.cfg, g, getAllPermissions())
94
95
+ // Overwrite the loop daemon's user agent name so it sends "litd"
96
+ // instead of "loopd".
97
+ loop.AgentName = "litd"
98
+
99
// Hook interceptor for os signals.
100
err = signal.Intercept()
101
if err != nil {
0 commit comments