aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/http.go
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-03-27 23:03:49 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-03-27 23:03:49 +0800
commit0ac346f7078dba597d60f991c32ddbfd7be167ba (patch)
tree33a690fa6ef7cbc8584ff2a1f40f85b28b42ac7f /rpc/http.go
parent9f84c78eb5cceb5f413fbdeafe63786f1b958e83 (diff)
parenteb102bf4bb0bff773824ff467fbb2e49c1f6939b (diff)
downloadgo-tangerine-0ac346f7078dba597d60f991c32ddbfd7be167ba.tar
go-tangerine-0ac346f7078dba597d60f991c32ddbfd7be167ba.tar.gz
go-tangerine-0ac346f7078dba597d60f991c32ddbfd7be167ba.tar.bz2
go-tangerine-0ac346f7078dba597d60f991c32ddbfd7be167ba.tar.lz
go-tangerine-0ac346f7078dba597d60f991c32ddbfd7be167ba.tar.xz
go-tangerine-0ac346f7078dba597d60f991c32ddbfd7be167ba.tar.zst
go-tangerine-0ac346f7078dba597d60f991c32ddbfd7be167ba.zip
Merge branch 'develop' into rpcargs
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