aboutsummaryrefslogtreecommitdiffstats
path: root/console
diff options
context:
space:
mode:
authorMatthew Halpern <matthalp@google.com>2019-02-14 22:38:07 +0800
committerPéter Szilágyi <peterke@gmail.com>2019-02-14 22:38:07 +0800
commite6c06a1da8ea8ecbc644a042ed0aeb95f49ab6ef (patch)
tree77778d2d8f2ca7d2507b5cf6368f0ff2b7dace9b /console
parent3ee09ba03511ad9a49e37c58f0c35b9c9771dd6f (diff)
downloadgo-tangerine-e6c06a1da8ea8ecbc644a042ed0aeb95f49ab6ef.tar
go-tangerine-e6c06a1da8ea8ecbc644a042ed0aeb95f49ab6ef.tar.gz
go-tangerine-e6c06a1da8ea8ecbc644a042ed0aeb95f49ab6ef.tar.bz2
go-tangerine-e6c06a1da8ea8ecbc644a042ed0aeb95f49ab6ef.tar.lz
go-tangerine-e6c06a1da8ea8ecbc644a042ed0aeb95f49ab6ef.tar.xz
go-tangerine-e6c06a1da8ea8ecbc644a042ed0aeb95f49ab6ef.tar.zst
go-tangerine-e6c06a1da8ea8ecbc644a042ed0aeb95f49ab6ef.zip
console, internal: enforce camel case variable names (#19059)
Diffstat (limited to 'console')
-rw-r--r--console/console.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/console/console.go b/console/console.go
index 3c397f800..222ac3b52 100644
--- a/console/console.go
+++ b/console/console.go
@@ -120,10 +120,10 @@ func (c *Console) init(preload []string) error {
consoleObj.Object().Set("error", c.consoleOutput)
// Load all the internal utility JavaScript libraries
- if err := c.jsre.Compile("bignumber.js", jsre.BigNumber_JS); err != nil {
+ if err := c.jsre.Compile("bignumber.js", jsre.BignumberJs); err != nil {
return fmt.Errorf("bignumber.js: %v", err)
}
- if err := c.jsre.Compile("web3.js", jsre.Web3_JS); err != nil {
+ if err := c.jsre.Compile("web3.js", jsre.Web3Js); err != nil {
return fmt.Errorf("web3.js: %v", err)
}
if _, err := c.jsre.Run("var Web3 = require('web3');"); err != nil {