From 8f43dc758e77bde8d8c5c319de789b276b52dd6c Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Wed, 22 Jan 2014 21:21:05 -0500 Subject: [PATCH] Fix build. --- rpcwebsocket.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcwebsocket.go b/rpcwebsocket.go index 36692c52..baf8b792 100644 --- a/rpcwebsocket.go +++ b/rpcwebsocket.go @@ -747,7 +747,7 @@ func (s *rpcServer) websocketJSONHandler(r chan *btcjson.Reply, c handlerChans, // connection is not already authenticated. s.ws.Lock() rc := s.ws.connections[c.n] - if _, ok := cmd.(*btcws.AuthenticateMsg); ok { + if _, ok := cmd.(*btcws.AuthenticateCmd); ok { // Validate the provided credentials. err := websocketAuthenticate(cmd, rc, s.authsha[:]) if err != nil {