diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-03-27 23:03:49 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-03-27 23:03:49 +0800 |
commit | 0ac346f7078dba597d60f991c32ddbfd7be167ba (patch) | |
tree | 33a690fa6ef7cbc8584ff2a1f40f85b28b42ac7f /cmd/geth/js.go | |
parent | 9f84c78eb5cceb5f413fbdeafe63786f1b958e83 (diff) | |
parent | eb102bf4bb0bff773824ff467fbb2e49c1f6939b (diff) | |
download | dexon-0ac346f7078dba597d60f991c32ddbfd7be167ba.tar dexon-0ac346f7078dba597d60f991c32ddbfd7be167ba.tar.gz dexon-0ac346f7078dba597d60f991c32ddbfd7be167ba.tar.bz2 dexon-0ac346f7078dba597d60f991c32ddbfd7be167ba.tar.lz dexon-0ac346f7078dba597d60f991c32ddbfd7be167ba.tar.xz dexon-0ac346f7078dba597d60f991c32ddbfd7be167ba.tar.zst dexon-0ac346f7078dba597d60f991c32ddbfd7be167ba.zip |
Merge branch 'develop' into rpcargs
Diffstat (limited to 'cmd/geth/js.go')
-rw-r--r-- | cmd/geth/js.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/geth/js.go b/cmd/geth/js.go index 8e88a1c54..59a8469fa 100644 --- a/cmd/geth/js.go +++ b/cmd/geth/js.go @@ -91,8 +91,7 @@ func newJSRE(ethereum *eth.Ethereum, libPath string, interactive bool) *jsre { func (js *jsre) apiBindings() { - ethApi := rpc.NewEthereumApi(js.xeth, js.ethereum.DataDir) - ethApi.Close() + ethApi := rpc.NewEthereumApi(js.xeth) //js.re.Bind("jeth", rpc.NewJeth(ethApi, js.re.ToVal)) jeth := rpc.NewJeth(ethApi, js.re.ToVal, js.re) |