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:
Felix Lange 2016-02-12 02:20:18 +01:00
parent 2680e23b15
commit 4063d30b5e
1 changed files with 6 additions and 6 deletions

View File

@ -280,7 +280,7 @@ func (js *jsre) apiBindings() error {
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 {
utils.Fatalf("Error loading web3.js: %v", err)
}