From b5c6c9196290314a875f89b88178b1be4b0db7d0 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Tue, 5 Sep 2017 12:52:44 +0200 Subject: Increase the default polling interval to 1000 --- src/0x.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 { + pollingIntervalMs: number = 1000): Promise { const txReceiptPromise = new Promise((resolve: (receipt: TransactionReceipt) => void, reject) => { const intervalId = setInterval(async () => { const transactionReceipt = await this._web3Wrapper.getTransactionReceiptAsync(txHash); -- cgit v1.2.3