diff options
author | Luke Autry <lukeautry@gmail.com> | 2017-11-11 00:35:40 +0800 |
---|---|---|
committer | Luke Autry <lukeautry@gmail.com> | 2017-11-11 00:35:40 +0800 |
commit | d11087c28fef86e3cdbaadd6299b33dca5b5b50b (patch) | |
tree | c77a6ecd9fccbb463b62f7756e76a09e826abf39 | |
parent | e6139e02b866644500ee7a53a5818ad68f4e2e11 (diff) | |
download | dexon-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
-rw-r--r-- | src/0x.ts | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |