We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 798b6d2 commit 6c686b2Copy full SHA for 6c686b2
eth/rpc/rpcapi/websockets.go
@@ -298,7 +298,7 @@ func (s *websocketsServer) readLoop(wsConn *wsConn) {
298
}
299
300
301
-// tcpGetAndSendResponse sends error response to client if params is invalid
+// getParamsAndCheckValid extracts and validates the params from the given message
302
func (s *websocketsServer) getParamsAndCheckValid(msg map[string]any, wsConn *wsConn) ([]any, bool) {
303
params, ok := msg["params"].([]any)
304
if !ok {
0 commit comments