rpcserver: remove unnecessary conversion
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -2815,7 +2815,7 @@ func (r *rpcServer) GetInfo(_ context.Context,
|
|||||||
Uris: uris,
|
Uris: uris,
|
||||||
Alias: nodeAnn.Alias.String(),
|
Alias: nodeAnn.Alias.String(),
|
||||||
Color: routing.EncodeHexColor(nodeAnn.RGBColor),
|
Color: routing.EncodeHexColor(nodeAnn.RGBColor),
|
||||||
BestHeaderTimestamp: int64(bestHeaderTimestamp),
|
BestHeaderTimestamp: bestHeaderTimestamp,
|
||||||
Version: build.Version() + " commit=" + build.Commit,
|
Version: build.Version() + " commit=" + build.Commit,
|
||||||
CommitHash: build.CommitHash,
|
CommitHash: build.CommitHash,
|
||||||
SyncedToGraph: isGraphSynced,
|
SyncedToGraph: isGraphSynced,
|
||||||
|
|||||||
Reference in new issue
Block a user