Fix build.
This commit is contained in:
parent
0d40bf901d
commit
8f43dc758e
1 changed files with 1 additions and 1 deletions
|
@ -747,7 +747,7 @@ func (s *rpcServer) websocketJSONHandler(r chan *btcjson.Reply, c handlerChans,
|
||||||
// connection is not already authenticated.
|
// connection is not already authenticated.
|
||||||
s.ws.Lock()
|
s.ws.Lock()
|
||||||
rc := s.ws.connections[c.n]
|
rc := s.ws.connections[c.n]
|
||||||
if _, ok := cmd.(*btcws.AuthenticateMsg); ok {
|
if _, ok := cmd.(*btcws.AuthenticateCmd); ok {
|
||||||
// Validate the provided credentials.
|
// Validate the provided credentials.
|
||||||
err := websocketAuthenticate(cmd, rc, s.authsha[:])
|
err := websocketAuthenticate(cmd, rc, s.authsha[:])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue