From f1f1c8a2577b67349bed56e68a0e6c51b3748fda Mon Sep 17 00:00:00 2001 From: Benjamin Congdon Date: Fri, 15 Dec 2017 16:57:34 -0600 Subject: [PATCH] rpc: Remove SetAlias and add Alias to GetInfo Response This commit removes the SetAlias RPC function because it was deemed unnecessary. This commit also populates the Alias field in the GetInfo response --- rpcserver.go | 1 + 1 file changed, 1 insertion(+) diff --git a/rpcserver.go b/rpcserver.go index bf8e9908..b36e03b9 100644 --- a/rpcserver.go +++ b/rpcserver.go @@ -1141,6 +1141,7 @@ func (r *rpcServer) GetInfo(ctx context.Context, Testnet: activeNetParams.Params == &chaincfg.TestNet3Params, Chains: activeChains, Uris: uris, + Alias: nodeAnn.Alias.String(), }, nil }