lnrpc+rpc: remove SetAlias method

In this commit we remove the SetAlias method as it’s being removed in
favor of instead using a static configuration parameter.
This commit is contained in:
Olaoluwa Osuntokun committed 2018-01-10 15:16:46 -08:00
1 parent d70e4bb0a0
commit 6f408004e2
4 files changed
+323 -419

No files matched your search

-14
View File
@@ -3032,20 +3032,6 @@ func (r *rpcServer) DeleteAllPayments(ctx context.Context,
return &lnrpc.DeleteAllPaymentsResponse{}, nil
}
// SetAlias...
func (r *rpcServer) SetAlias(ctx context.Context,
_ *lnrpc.SetAliasRequest) (*lnrpc.SetAliasResponse, error) {
if r.authSvc != nil {
if err := macaroons.ValidateMacaroon(ctx, "setalias",
r.authSvc); err != nil {
return nil, err
}
}
return nil, nil
}
// DebugLevel allows a caller to programmatically set the logging verbosity of
// lnd. The logging can be targeted according to a coarse daemon-wide logging
// level, or in a granular fashion to specify the logging for a target