Correct QueueNotification comment.

This comment incorrectly said QueueMessage instead of QueueNotification.
This commit is contained in:
Dave Collins 2014-07-09 01:37:55 -05:00
parent 6248dd5e5d
commit 6a8b806a20

View file

@ -1296,7 +1296,7 @@ func (c *wsClient) SendMessage(marshalledJSON []byte, doneChan chan bool) {
// to the client having already been disconnected or dropped.
var ErrClientQuit = errors.New("client quit")
// QueueMessage queues the passed notification to be sent to the websocket
// QueueNotification queues the passed notification to be sent to the websocket
// client. This function, as the name implies, is only intended for
// notifications since it has additional logic to prevent other subsystems, such
// as the memory pool and block manager, from blocking even when the send