lnrpc+rpcserver: expose git commit hash in getinfo

This commit is contained in:
Conner Fromknecht committed 2020-04-10 16:39:31 -07:00
1 parent 5c04038c18
commit 91cd7e633a
4 files changed
+772 -753

No files matched your search

+1
View File
@@ -2408,6 +2408,7 @@ func (r *rpcServer) GetInfo(ctx context.Context,
Color: routing.EncodeHexColor(nodeAnn.RGBColor),
BestHeaderTimestamp: int64(bestHeaderTimestamp),
Version: build.Version() + " commit=" + build.Commit,
CommitHash: build.CommitHash,
SyncedToGraph: isGraphSynced,
Features: features,
}, nil