From d5a89692a6964f497442401248184a449b6b5beb Mon Sep 17 00:00:00 2001 From: Soph <35721420+sophoah@users.noreply.github.com> Date: Thu, 18 Nov 2021 21:47:57 +0700 Subject: [PATCH] add correct auth api (#3934) Co-authored-by: Nita Neou --- rpc/rpc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpc/rpc.go b/rpc/rpc.go index ad2a373e59..f88fd342ac 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 } }