diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-03-27 16:36:18 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-03-27 16:36:18 +0800 |
commit | e29396b6915a27d3e44be45fe9e540c6ef39f1dd (patch) | |
tree | 079f5dc51816ae63ea2e7b5547d5b24e798aaf04 /rpc/http.go | |
parent | b0b0939879b9fb8453ec1c8fa2ceb522e56df3bc (diff) | |
download | dexon-e29396b6915a27d3e44be45fe9e540c6ef39f1dd.tar.gz dexon-e29396b6915a27d3e44be45fe9e540c6ef39f1dd.tar.zst dexon-e29396b6915a27d3e44be45fe9e540c6ef39f1dd.zip |
Use ExtraDB for storage. Fixes #577
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 |