mirror of
https://github.com/lightninglabs/lightning-terminal.git
synced 2026-08-13 12:33:36 +02:00
terminal: fix display issues with startup info
This commit is contained in:
parent
1d7b4c07ee
commit
975ad9681b
1 changed files with 2 additions and 1 deletions
|
|
@ -918,6 +918,7 @@ func (g *LightningTerminal) showStartupInfo() error {
|
|||
// Node is locked.
|
||||
info.status = "locked"
|
||||
info.alias = "???? (node is locked)"
|
||||
info.version = "???? (node is locked)"
|
||||
} else {
|
||||
info.status = "online"
|
||||
info.alias = res.Alias
|
||||
|
|
@ -937,7 +938,7 @@ func (g *LightningTerminal) showStartupInfo() error {
|
|||
// If there's an additional HTTP listener, list it as well.
|
||||
listenAddr := g.cfg.HTTPSListen
|
||||
if g.cfg.HTTPListen != "" {
|
||||
host := toLocalAddress(listenAddr)
|
||||
host := toLocalAddress(g.cfg.HTTPListen)
|
||||
info.webURI = fmt.Sprintf("%s or http://%s", info.webURI, host)
|
||||
listenAddr = fmt.Sprintf("%s, %s", listenAddr, g.cfg.HTTPListen)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue