good morning!!!!

Skip to content
Snippets Groups Projects
Commit d8c6168d authored by Taylor Gerring's avatar Taylor Gerring
Browse files

Return a websocker.Handler of the function

parent dd3f38fe
No related branches found
No related tags found
No related merge requests found
......@@ -120,5 +120,5 @@ func sockHandler(xeth *rpc.EthereumApi) websocket.Handler {
websocket.JSON.Send(conn, rpc.RpcSuccessResponse{JsonRpc: reqParsed.JsonRpc, ID: reqParsed.ID, Error: false, Result: response})
}
}
return fn
return websocket.Handler(fn)
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment