mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-28 10:41:57 +01:00
lncli: include color in getinfo response
This commit is contained in:
parent
f4f3cea9a6
commit
0e38c722b3
@ -1840,6 +1840,7 @@ func getInfo(ctx *cli.Context) error {
|
|||||||
Version string `json:"version"`
|
Version string `json:"version"`
|
||||||
IdentityPubkey string `json:"identity_pubkey"`
|
IdentityPubkey string `json:"identity_pubkey"`
|
||||||
Alias string `json:"alias"`
|
Alias string `json:"alias"`
|
||||||
|
Color string `json:"color"`
|
||||||
NumPendingChannels uint32 `json:"num_pending_channels"`
|
NumPendingChannels uint32 `json:"num_pending_channels"`
|
||||||
NumActiveChannels uint32 `json:"num_active_channels"`
|
NumActiveChannels uint32 `json:"num_active_channels"`
|
||||||
NumInactiveChannels uint32 `json:"num_inactive_channels"`
|
NumInactiveChannels uint32 `json:"num_inactive_channels"`
|
||||||
@ -1855,6 +1856,7 @@ func getInfo(ctx *cli.Context) error {
|
|||||||
Version: resp.Version,
|
Version: resp.Version,
|
||||||
IdentityPubkey: resp.IdentityPubkey,
|
IdentityPubkey: resp.IdentityPubkey,
|
||||||
Alias: resp.Alias,
|
Alias: resp.Alias,
|
||||||
|
Color: resp.Color,
|
||||||
NumPendingChannels: resp.NumPendingChannels,
|
NumPendingChannels: resp.NumPendingChannels,
|
||||||
NumActiveChannels: resp.NumActiveChannels,
|
NumActiveChannels: resp.NumActiveChannels,
|
||||||
NumInactiveChannels: resp.NumInactiveChannels,
|
NumInactiveChannels: resp.NumInactiveChannels,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user