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
This commit is contained in:
Benjamin Congdon committed 2018-01-18 07:39:37 -06:00
1 parent a8728ccb5b
commit f1f1c8a257
1 file changed
+1
+1
View File
@@ -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
}