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:
parent
a8728ccb5b
commit
f1f1c8a257
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user