aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/ws
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/ws')
-rw-r--r--rpc/ws/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/ws/server.go b/rpc/ws/server.go
index 9be305b6c..c275031f4 100644
--- a/rpc/ws/server.go
+++ b/rpc/ws/server.go
@@ -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)
}