bulid: only return semantic version from Version()
The version field in getinfo is kept the same for backwards compatibility.
This commit is contained in:
2 files changed
+1
-4
No files matched your search
+1
-1
@@ -2407,7 +2407,7 @@ func (r *rpcServer) GetInfo(ctx context.Context,
|
||||
Alias: nodeAnn.Alias.String(),
|
||||
Color: routing.EncodeHexColor(nodeAnn.RGBColor),
|
||||
BestHeaderTimestamp: int64(bestHeaderTimestamp),
|
||||
Version: build.Version(),
|
||||
Version: build.Version() + " commit=" + build.Commit,
|
||||
SyncedToGraph: isGraphSynced,
|
||||
Features: features,
|
||||
}, nil
|
||||
|
||||
Reference in new issue
Block a user