diff --git a/rpc/rpc.go b/rpc/rpc.go index 0487b8de0b..eb79706e69 100644 --- a/rpc/rpc.go +++ b/rpc/rpc.go @@ -195,7 +195,7 @@ func startHTTP(apis []rpc.API) (err error) { func startAuthHTTP(apis []rpc.API) (err error) { httpListener, httpHandler, err = rpc.StartHTTPEndpoint( - httpEndpoint, apis, HTTPModules, httpOrigins, httpVirtualHosts, httpTimeouts, + httpAuthEndpoint, apis, HTTPModules, httpOrigins, httpVirtualHosts, httpTimeouts, ) if err != nil { return err