aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/http.go
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-03-27 16:36:18 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-03-27 16:36:18 +0800
commite29396b6915a27d3e44be45fe9e540c6ef39f1dd (patch)
tree079f5dc51816ae63ea2e7b5547d5b24e798aaf04 /rpc/http.go
parentb0b0939879b9fb8453ec1c8fa2ceb522e56df3bc (diff)
downloaddexon-e29396b6915a27d3e44be45fe9e540c6ef39f1dd.tar
dexon-e29396b6915a27d3e44be45fe9e540c6ef39f1dd.tar.gz
dexon-e29396b6915a27d3e44be45fe9e540c6ef39f1dd.tar.bz2
dexon-e29396b6915a27d3e44be45fe9e540c6ef39f1dd.tar.lz
dexon-e29396b6915a27d3e44be45fe9e540c6ef39f1dd.tar.xz
dexon-e29396b6915a27d3e44be45fe9e540c6ef39f1dd.tar.zst
dexon-e29396b6915a27d3e44be45fe9e540c6ef39f1dd.zip
Use ExtraDB for storage. Fixes #577
Diffstat (limited to 'rpc/http.go')
-rw-r--r--rpc/http.go4
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