diff --git a/rpc/rpc.go b/rpc/rpc.go index ad2a373e5..f88fd342a 100644 --- a/rpc/rpc.go +++ b/rpc/rpc.go @@ -94,7 +94,7 @@ func StartServers(hmy *hmy.Harmony, apis []rpc.API, config nodeconfig.RPCServerC } wsAuthEndpoint = fmt.Sprintf("%v:%v", config.WSIp, config.WSAuthPort) - if err := startAuthWS(apis); err != nil { + if err := startAuthWS(authApis); err != nil { return err } }