aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-05-08 01:56:44 +0800
committerobscuren <geffobscura@gmail.com>2015-05-08 19:05:20 +0800
commit351d6b0d44d5efa78edfa0729972e43133bcf88c (patch)
treeb7d8399e43038dd6a605b1512f361a28bd37869e /cmd
parent03473d48c1436380b9248e65803ba56e1c584663 (diff)
downloaddexon-351d6b0d44d5efa78edfa0729972e43133bcf88c.tar
dexon-351d6b0d44d5efa78edfa0729972e43133bcf88c.tar.gz
dexon-351d6b0d44d5efa78edfa0729972e43133bcf88c.tar.bz2
dexon-351d6b0d44d5efa78edfa0729972e43133bcf88c.tar.lz
dexon-351d6b0d44d5efa78edfa0729972e43133bcf88c.tar.xz
dexon-351d6b0d44d5efa78edfa0729972e43133bcf88c.tar.zst
dexon-351d6b0d44d5efa78edfa0729972e43133bcf88c.zip
jsre, cmd/geth: updated web3.js and altered settimeout
Diffstat (limited to 'cmd')
-rw-r--r--cmd/geth/js.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/cmd/geth/js.go b/cmd/geth/js.go
index c9839dabb..9b0ab0a1b 100644
--- a/cmd/geth/js.go
+++ b/cmd/geth/js.go
@@ -117,12 +117,6 @@ func (js *jsre) apiBindings(f xeth.Frontend) {
utils.Fatalf("Error loading bignumber.js: %v", err)
}
- // we need to declare a dummy setTimeout. Otto does not support it
- _, err = js.re.Eval("setTimeout = function(cb, delay) {};")
- if err != nil {
- utils.Fatalf("Error defining setTimeout: %v", err)
- }
-
err = js.re.Compile("ethereum.js", re.Ethereum_JS)
if err != nil {
utils.Fatalf("Error loading ethereum.js: %v", err)