diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-09-05 18:52:44 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-09-05 18:52:44 +0800 |
commit | b5c6c9196290314a875f89b88178b1be4b0db7d0 (patch) | |
tree | 0c41b5841e4a0677e035d530dc726373200526ab /src | |
parent | f6a945dfe4844d243ef67042b33e9ade2fc60308 (diff) | |
download | dexon-sol-tools-b5c6c9196290314a875f89b88178b1be4b0db7d0.tar dexon-sol-tools-b5c6c9196290314a875f89b88178b1be4b0db7d0.tar.gz dexon-sol-tools-b5c6c9196290314a875f89b88178b1be4b0db7d0.tar.bz2 dexon-sol-tools-b5c6c9196290314a875f89b88178b1be4b0db7d0.tar.lz dexon-sol-tools-b5c6c9196290314a875f89b88178b1be4b0db7d0.tar.xz dexon-sol-tools-b5c6c9196290314a875f89b88178b1be4b0db7d0.tar.zst dexon-sol-tools-b5c6c9196290314a875f89b88178b1be4b0db7d0.zip |
Increase the default polling interval to 1000
Diffstat (limited to 'src')
-rw-r--r-- | src/0x.ts | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -259,7 +259,7 @@ export class ZeroEx { * @return TransactionReceipt */ public async awaitTransactionMinedAsync(txHash: string, - pollingIntervalMs: number = 500): Promise<TransactionReceipt> { + pollingIntervalMs: number = 1000): Promise<TransactionReceipt> { const txReceiptPromise = new Promise((resolve: (receipt: TransactionReceipt) => void, reject) => { const intervalId = setInterval(async () => { const transactionReceipt = await this._web3Wrapper.getTransactionReceiptAsync(txHash); |