aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth/js.go
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2015-05-20 09:04:52 +0800
committerzelig <viktor.tron@gmail.com>2015-05-20 09:47:13 +0800
commit22b694ee1e1044e68c906fbd864797ac2f8a4ab0 (patch)
tree498477c69b6715c41a0c5e8c6ddfe20f06ca5e93 /cmd/geth/js.go
parentf9abcee0f9185d41c71cc24af1303133497ebeb0 (diff)
downloaddexon-22b694ee1e1044e68c906fbd864797ac2f8a4ab0.tar
dexon-22b694ee1e1044e68c906fbd864797ac2f8a4ab0.tar.gz
dexon-22b694ee1e1044e68c906fbd864797ac2f8a4ab0.tar.bz2
dexon-22b694ee1e1044e68c906fbd864797ac2f8a4ab0.tar.lz
dexon-22b694ee1e1044e68c906fbd864797ac2f8a4ab0.tar.xz
dexon-22b694ee1e1044e68c906fbd864797ac2f8a4ab0.tar.zst
dexon-22b694ee1e1044e68c906fbd864797ac2f8a4ab0.zip
solc now in ethereum, fixes solc path setting; setSolc() didnt work
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 4ddb3bd9c..f99051a1e 100644
--- a/cmd/geth/js.go
+++ b/cmd/geth/js.go
@@ -71,7 +71,7 @@ type jsre struct {
prompter
}
-func newJSRE(ethereum *eth.Ethereum, libPath, solcPath, corsDomain string, interactive bool, f xeth.Frontend) *jsre {
+func newJSRE(ethereum *eth.Ethereum, libPath, corsDomain string, interactive bool, f xeth.Frontend) *jsre {
js := &jsre{ethereum: ethereum, ps1: "> "}
// set default cors domain used by startRpc from CLI flag
js.corsDomain = corsDomain
@@ -81,7 +81,6 @@ func newJSRE(ethereum *eth.Ethereum, libPath, solcPath, corsDomain string, inter
js.xeth = xeth.New(ethereum, f)
js.wait = js.xeth.UpdateState()
// update state in separare forever blocks
- js.xeth.SetSolc(solcPath)
js.re = re.New(libPath)
js.apiBindings(f)
js.adminBindings()