add correct auth api (#3934)

Co-authored-by: Nita Neou <soph@harmony.one>
pull/3948/head
Soph 3 years ago committed by GitHub
parent 3bce74fdbd
commit d5a89692a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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
}
}

Loading…
Cancel
Save