mirror of
https://github.com/lightninglabs/lightning-terminal.git
synced 2026-08-13 12:33:36 +02:00
terminal: add clarifying comment for LND startup
As it's quite confusing by just looking at `litd` codebase that LND will execute `litd`'s `RegisterGrpcSubserver` function during the setup of the LND connection, we add a comment to clarify this.
This commit is contained in:
parent
ef87c7a609
commit
a79187f84e
1 changed files with 3 additions and 0 deletions
|
|
@ -597,6 +597,9 @@ func (g *LightningTerminal) start(ctx context.Context) error {
|
|||
go func() {
|
||||
defer g.wg.Done()
|
||||
|
||||
// Note that LND will call litd's RegisterGrpcSubserver
|
||||
// function during the execution of this, as `g` is
|
||||
// referenced in the passed `implCfg`
|
||||
err := lnd.Main(g.cfg.Lnd, lisCfg, implCfg, interceptor)
|
||||
if e, ok := err.(*flags.Error); err != nil &&
|
||||
(!ok || e.Type != flags.ErrHelp) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue