aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-09-05 18:52:44 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-09-05 18:52:44 +0800
commitb5c6c9196290314a875f89b88178b1be4b0db7d0 (patch)
tree0c41b5841e4a0677e035d530dc726373200526ab /src
parentf6a945dfe4844d243ef67042b33e9ade2fc60308 (diff)
downloaddexon-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.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/0x.ts b/src/0x.ts
index e1ba796c8..209b2704d 100644
--- a/src/0x.ts
+++ b/src/0x.ts
@@ -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);