-
Notifications
You must be signed in to change notification settings - Fork 21.6k
Closed
Description
The event loop works with otto/jsre, but I had to remove a poll loop from ethereum.js because the event loop doesn't return while a timer is running:
RequestManager.prototype.poll = function () {
this.timeout = setTimeout(this.poll.bind(this), c.ETH_POLLING_TIMEOUT);
We probably don't need polling when using otto provider; the proper version of ethereum.js has to be modified and included in ethereum_js.go.