diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-03-27 18:48:03 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-03-27 18:48:03 +0800 |
commit | 54a14d5c9d7d1e5039753eac991cd057a5514fe8 (patch) | |
tree | 322f74746ac7a2ddfea0e5fbb42383f46d5aad15 /cmd/geth/js.go | |
parent | 09280c5f11993ee64ce231433270345c7e253ee3 (diff) | |
parent | e29396b6915a27d3e44be45fe9e540c6ef39f1dd (diff) | |
download | dexon-54a14d5c9d7d1e5039753eac991cd057a5514fe8.tar dexon-54a14d5c9d7d1e5039753eac991cd057a5514fe8.tar.gz dexon-54a14d5c9d7d1e5039753eac991cd057a5514fe8.tar.bz2 dexon-54a14d5c9d7d1e5039753eac991cd057a5514fe8.tar.lz dexon-54a14d5c9d7d1e5039753eac991cd057a5514fe8.tar.xz dexon-54a14d5c9d7d1e5039753eac991cd057a5514fe8.tar.zst dexon-54a14d5c9d7d1e5039753eac991cd057a5514fe8.zip |
Merge pull request #584 from tgerring/issue577
Use ExtraDB for RPC storage. Fixes #577
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) |