further cleaned up xeth interface

This commit is contained in:
obscuren
2015-01-28 18:35:49 +01:00
parent 1146f25015
commit 872b249711
15 changed files with 123 additions and 133 deletions

View File

@ -75,7 +75,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)