aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLuke Autry <lukeautry@gmail.com>2017-11-11 00:35:40 +0800
committerLuke Autry <lukeautry@gmail.com>2017-11-11 00:35:40 +0800
commitd11087c28fef86e3cdbaadd6299b33dca5b5b50b (patch)
treec77a6ecd9fccbb463b62f7756e76a09e826abf39 /src
parente6139e02b866644500ee7a53a5818ad68f4e2e11 (diff)
downloaddexon-sol-tools-d11087c28fef86e3cdbaadd6299b33dca5b5b50b.tar
dexon-sol-tools-d11087c28fef86e3cdbaadd6299b33dca5b5b50b.tar.gz
dexon-sol-tools-d11087c28fef86e3cdbaadd6299b33dca5b5b50b.tar.bz2
dexon-sol-tools-d11087c28fef86e3cdbaadd6299b33dca5b5b50b.tar.lz
dexon-sol-tools-d11087c28fef86e3cdbaadd6299b33dca5b5b50b.tar.xz
dexon-sol-tools-d11087c28fef86e3cdbaadd6299b33dca5b5b50b.tar.zst
dexon-sol-tools-d11087c28fef86e3cdbaadd6299b33dca5b5b50b.zip
use util fn
Diffstat (limited to 'src')
-rw-r--r--src/0x.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/0x.ts b/src/0x.ts
index 0ac95fccd..43430e544 100644
--- a/src/0x.ts
+++ b/src/0x.ts
@@ -303,7 +303,7 @@ export class ZeroEx {
(resolve: (receipt: TransactionReceiptWithDecodedLogs) => void, reject) => {
const intervalId = intervalUtils.setAsyncExcludingInterval(async () => {
if (timeoutExceeded) {
- clearInterval(intervalId);
+ intervalUtils.clearAsyncExcludingInterval(intervalId);
return reject(ZeroExError.TransactionMiningTimeout);
}