Use ExtraDB for storage. Fixes #577

This commit is contained in:
Taylor Gerring
2015-03-27 09:36:18 +01:00
parent b0b0939879
commit e29396b691
7 changed files with 56 additions and 61 deletions

View File

@@ -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)