lncli: include color in getinfo response

This commit is contained in:
Xavi Soler 2018-12-21 17:35:54 +01:00
parent f4f3cea9a6
commit 0e38c722b3
No known key found for this signature in database
GPG Key ID: 4B65A4B63378DF1E

@ -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,