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 153a210Copy full SHA for 153a210
eth/rpc/rpcapi/websockets.go
@@ -298,7 +298,8 @@ 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, sending an
302
+// error response on failure.
303
func (s *websocketsServer) getParamsAndCheckValid(msg map[string]any, wsConn *wsConn) ([]any, bool) {
304
params, ok := msg["params"].([]any)
305
if !ok {
0 commit comments