From 0e38c722b3765b4b8dac64a0fcda7295b79c0aef Mon Sep 17 00:00:00 2001 From: Xavi Soler Date: Fri, 21 Dec 2018 17:35:54 +0100 Subject: [PATCH] lncli: include color in getinfo response --- cmd/lncli/commands.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/lncli/commands.go b/cmd/lncli/commands.go index a997fd53016..84d5e1c24b9 100644 --- a/cmd/lncli/commands.go +++ b/cmd/lncli/commands.go @@ -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"` @@ -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,