cmd/geth: gofmt js.go and rename ethereum.js to web3.js
Fixing the filename matters now because it will actually show up in JS backtraces.
This commit is contained in:
parent
2680e23b15
commit
4063d30b5e
@ -280,7 +280,7 @@ func (js *jsre) apiBindings() error {
|
|||||||
utils.Fatalf("Error loading bignumber.js: %v", err)
|
utils.Fatalf("Error loading bignumber.js: %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
err = js.re.Compile("ethereum.js", re.Web3_JS)
|
err = js.re.Compile("web3.js", re.Web3_JS)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
utils.Fatalf("Error loading web3.js: %v", err)
|
utils.Fatalf("Error loading web3.js: %v", err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user