aboutsummaryrefslogtreecommitdiffstats
path: root/src/0x.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-09-05 16:07:16 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-09-05 16:07:16 +0800
commit2b547f94a44dfed029b5559b743344d5998fa3bc (patch)
tree3c5241ba9cadcfad6ee0290b497ed6780cc9fc8b /src/0x.ts
parentc9e490bdaec53e3a93b5da8daaaf0b1d87d9de76 (diff)
downloaddexon-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.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/0x.ts b/src/0x.ts
index e92c92e1f..4a1d605a2 100644
--- a/src/0x.ts
+++ b/src/0x.ts
@@ -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);