aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth/js.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 /cmd/geth/js.go
parentb0b0939879b9fb8453ec1c8fa2ceb522e56df3bc (diff)
downloadgo-tangerine-e29396b6915a27d3e44be45fe9e540c6ef39f1dd.tar.gz
go-tangerine-e29396b6915a27d3e44be45fe9e540c6ef39f1dd.tar.zst
go-tangerine-e29396b6915a27d3e44be45fe9e540c6ef39f1dd.zip
Use ExtraDB for storage. Fixes #577
Diffstat (limited to 'cmd/geth/js.go')
-rw-r--r--cmd/geth/js.go3
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)