aboutsummaryrefslogtreecommitdiffstats
path: root/packages/kovan-faucets/src/ts/request_queue.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/kovan-faucets/src/ts/request_queue.ts')
-rw-r--r--packages/kovan-faucets/src/ts/request_queue.ts4
1 files changed, 0 insertions, 4 deletions
diff --git a/packages/kovan-faucets/src/ts/request_queue.ts b/packages/kovan-faucets/src/ts/request_queue.ts
index 98e8e381a..2a3fd4d03 100644
--- a/packages/kovan-faucets/src/ts/request_queue.ts
+++ b/packages/kovan-faucets/src/ts/request_queue.ts
@@ -1,10 +1,6 @@
import * as _ from 'lodash';
import * as timers from 'timers';
import * as Web3 from 'web3';
-// HACK: web3 leaks XMLHttpRequest into the global scope and causes requests to hang
-// because they are using the wrong XHR package.
-// Issue: https://github.com/trufflesuite/truffle-contract/issues/14
-delete (global as any).XMLHttpRequest;
const MAX_QUEUE_SIZE = 500;
const DEFAULT_QUEUE_INTERVAL_MS = 1000;