diff options
Diffstat (limited to 'rpc/http.go')
-rw-r--r-- | rpc/http.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpc/http.go b/rpc/http.go index 3dfb67781..879ffce3b 100644 --- a/rpc/http.go +++ b/rpc/http.go @@ -18,8 +18,8 @@ const ( ) // JSONRPC returns a handler that implements the Ethereum JSON-RPC API. -func JSONRPC(pipe *xeth.XEth, dataDir string) http.Handler { - api := NewEthereumApi(pipe, dataDir) +func JSONRPC(pipe *xeth.XEth) http.Handler { + api := NewEthereumApi(pipe) return http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) { // TODO this needs to be configurable |