diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-09-05 16:07:16 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-09-05 16:07:16 +0800 |
commit | 2b547f94a44dfed029b5559b743344d5998fa3bc (patch) | |
tree | 3c5241ba9cadcfad6ee0290b497ed6780cc9fc8b /src/0x.ts | |
parent | c9e490bdaec53e3a93b5da8daaaf0b1d87d9de76 (diff) | |
download | dexon-sol-tools-2b547f94a44dfed029b5559b743344d5998fa3bc.tar dexon-sol-tools-2b547f94a44dfed029b5559b743344d5998fa3bc.tar.gz dexon-sol-tools-2b547f94a44dfed029b5559b743344d5998fa3bc.tar.bz2 dexon-sol-tools-2b547f94a44dfed029b5559b743344d5998fa3bc.tar.lz dexon-sol-tools-2b547f94a44dfed029b5559b743344d5998fa3bc.tar.xz dexon-sol-tools-2b547f94a44dfed029b5559b743344d5998fa3bc.tar.zst dexon-sol-tools-2b547f94a44dfed029b5559b743344d5998fa3bc.zip |
Change non-exhange contracts to also return txHash
Diffstat (limited to 'src/0x.ts')
-rw-r--r-- | src/0x.ts | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -249,8 +249,8 @@ export class ZeroEx { throw new Error(ZeroExError.InvalidSignature); } - public async awaitTransactionMined(txHash: string, - pollingIntervalMs: number = 500): Promise<Web3.TransactionReceipt> { + public async awaitTransactionMinedAsync(txHash: string, + pollingIntervalMs: number = 500): Promise<Web3.TransactionReceipt> { const txReceiptPromise = new Promise((resolve: (receipt: Web3.TransactionReceipt) => void, reject) => { const intervalId = setInterval(async () => { const transactionReceipt = await this._web3Wrapper.getTransactionReceiptAsync(txHash); |