Merge pull request #1020 from mecampbellsoup/add-version-to-getnetworkinfo-rpc

Add version field to GetInfo RPC endpoint
This commit is contained in:
Olaoluwa Osuntokun authored and GitHub committed 2018-04-17 18:41:18 -07:00
commit 21b6c62bf9
6 files changed
+359 -339

No files matched your search

+1
View File
@@ -1247,6 +1247,7 @@ func (r *rpcServer) GetInfo(ctx context.Context,
Uris: uris,
Alias: nodeAnn.Alias.String(),
BestHeaderTimestamp: int64(bestHeaderTimestamp),
Version: version(),
}, nil
}