aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/ws/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/ws/server.go')
-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 e2b918430..2efc6ff02 100644
--- a/rpc/ws/server.go
+++ b/rpc/ws/server.go
@@ -76,7 +76,7 @@ func (self *WebSocketServer) Start() {
wslogger.Infof("Starting RPC-WS server on port %d", self.port)
go self.handlerLoop()
- api := rpc.NewEthereumApi(xeth.NewJSXEth(self.eth))
+ api := rpc.NewEthereumApi(xeth.New(self.eth))
h := self.apiHandler(api)
http.Handle("/ws", h)