cmd/lncli: properly set synced_to_graph for getinfo command
This commit is contained in:
parent
9a5ac78912
commit
51216c6e5e
@ -1879,6 +1879,7 @@ func getInfo(ctx *cli.Context) error {
|
|||||||
BlockHash string `json:"block_hash"`
|
BlockHash string `json:"block_hash"`
|
||||||
BestHeaderTimestamp int64 `json:"best_header_timestamp"`
|
BestHeaderTimestamp int64 `json:"best_header_timestamp"`
|
||||||
SyncedToChain bool `json:"synced_to_chain"`
|
SyncedToChain bool `json:"synced_to_chain"`
|
||||||
|
SyncedToGraph bool `json:"synced_to_graph"`
|
||||||
Testnet bool `json:"testnet"`
|
Testnet bool `json:"testnet"`
|
||||||
Chains []chain `json:"chains"`
|
Chains []chain `json:"chains"`
|
||||||
Uris []string `json:"uris"`
|
Uris []string `json:"uris"`
|
||||||
@ -1895,6 +1896,7 @@ func getInfo(ctx *cli.Context) error {
|
|||||||
BlockHash: resp.BlockHash,
|
BlockHash: resp.BlockHash,
|
||||||
BestHeaderTimestamp: resp.BestHeaderTimestamp,
|
BestHeaderTimestamp: resp.BestHeaderTimestamp,
|
||||||
SyncedToChain: resp.SyncedToChain,
|
SyncedToChain: resp.SyncedToChain,
|
||||||
|
SyncedToGraph: resp.SyncedToGraph,
|
||||||
Testnet: resp.Testnet,
|
Testnet: resp.Testnet,
|
||||||
Chains: chains,
|
Chains: chains,
|
||||||
Uris: resp.Uris,
|
Uris: resp.Uris,
|
||||||
|
Loading…
Reference in New Issue
Block a user