cmd/geth, jsre: updated ethereum.js => web3.js
This commit is contained in:
parent
516f49c812
commit
92c6327593
2
.gitmodules
vendored
2
.gitmodules
vendored
@ -1,3 +1,3 @@
|
|||||||
[submodule "cmd/mist/assets/ext/ethereum.js"]
|
[submodule "cmd/mist/assets/ext/ethereum.js"]
|
||||||
path = cmd/mist/assets/ext/ethereum.js
|
path = cmd/mist/assets/ext/ethereum.js
|
||||||
url = https://github.com/ethereum/ethereum.js
|
url = https://github.com/ethereum/web3.js
|
||||||
|
@ -118,7 +118,7 @@ func (js *jsre) apiBindings() {
|
|||||||
utils.Fatalf("Error loading ethereum.js: %v", err)
|
utils.Fatalf("Error loading ethereum.js: %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
_, err = js.re.Eval("var web3 = require('ethereum.js');")
|
_, err = js.re.Eval("var web3 = require('web3');")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
utils.Fatalf("Error requiring web3: %v", err)
|
utils.Fatalf("Error requiring web3: %v", err)
|
||||||
}
|
}
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user