aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
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)