mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 01:43:16 +01:00
rpcserver: fix line lengths
This commit is contained in:
parent
939614b70d
commit
db5dc4d360
11
rpcserver.go
11
rpcserver.go
@ -2887,6 +2887,11 @@ func (r *rpcServer) GetInfo(_ context.Context,
|
||||
}
|
||||
|
||||
// TODO(roasbeef): add synced height n stuff
|
||||
|
||||
isTestNet := chainreg.IsTestnet(&r.cfg.ActiveNetParams)
|
||||
nodeColor := routing.EncodeHexColor(nodeAnn.RGBColor)
|
||||
version := build.Version() + " commit=" + build.Commit
|
||||
|
||||
return &lnrpc.GetInfoResponse{
|
||||
IdentityPubkey: encodedIDPub,
|
||||
NumPendingChannels: nPendingChannels,
|
||||
@ -2896,13 +2901,13 @@ func (r *rpcServer) GetInfo(_ context.Context,
|
||||
BlockHeight: uint32(bestHeight),
|
||||
BlockHash: bestHash.String(),
|
||||
SyncedToChain: isSynced,
|
||||
Testnet: chainreg.IsTestnet(&r.cfg.ActiveNetParams),
|
||||
Testnet: isTestNet,
|
||||
Chains: activeChains,
|
||||
Uris: uris,
|
||||
Alias: nodeAnn.Alias.String(),
|
||||
Color: routing.EncodeHexColor(nodeAnn.RGBColor),
|
||||
Color: nodeColor,
|
||||
BestHeaderTimestamp: bestHeaderTimestamp,
|
||||
Version: build.Version() + " commit=" + build.Commit,
|
||||
Version: version,
|
||||
CommitHash: build.CommitHash,
|
||||
SyncedToGraph: isGraphSynced,
|
||||
Features: features,
|
||||
|
Loading…
Reference in New Issue
Block a user