Skip to content

Commit

Permalink
lncli: include color in getinfo response
Browse files Browse the repository at this point in the history
  • Loading branch information
xsb committed May 23, 2019
1 parent f4f3cea commit 0e38c72
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/lncli/commands.go
Expand Up @@ -1840,6 +1840,7 @@ func getInfo(ctx *cli.Context) error {
Version string `json:"version"`
IdentityPubkey string `json:"identity_pubkey"`
Alias string `json:"alias"`
Color string `json:"color"`
NumPendingChannels uint32 `json:"num_pending_channels"`
NumActiveChannels uint32 `json:"num_active_channels"`
NumInactiveChannels uint32 `json:"num_inactive_channels"`
Expand All @@ -1855,6 +1856,7 @@ func getInfo(ctx *cli.Context) error {
Version: resp.Version,
IdentityPubkey: resp.IdentityPubkey,
Alias: resp.Alias,
Color: resp.Color,
NumPendingChannels: resp.NumPendingChannels,
NumActiveChannels: resp.NumActiveChannels,
NumInactiveChannels: resp.NumInactiveChannels,
Expand Down

0 comments on commit 0e38c72

Please sign in to comment.