Skip to content

Commit 975ad96

Browse files
committed
terminal: fix display issues with startup info
1 parent 1d7b4c0 commit 975ad96

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

terminal.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -918,6 +918,7 @@ func (g *LightningTerminal) showStartupInfo() error {
918918
// Node is locked.
919919
info.status = "locked"
920920
info.alias = "???? (node is locked)"
921+
info.version = "???? (node is locked)"
921922
} else {
922923
info.status = "online"
923924
info.alias = res.Alias
@@ -937,7 +938,7 @@ func (g *LightningTerminal) showStartupInfo() error {
937938
// If there's an additional HTTP listener, list it as well.
938939
listenAddr := g.cfg.HTTPSListen
939940
if g.cfg.HTTPListen != "" {
940-
host := toLocalAddress(listenAddr)
941+
host := toLocalAddress(g.cfg.HTTPListen)
941942
info.webURI = fmt.Sprintf("%s or http://%s", info.webURI, host)
942943
listenAddr = fmt.Sprintf("%s, %s", listenAddr, g.cfg.HTTPListen)
943944
}

0 commit comments

Comments
 (0)