aboutsummaryrefslogtreecommitdiffstats
path: root/src/contract_wrappers/exchange_wrapper.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-07-04 03:00:43 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-07-04 03:00:43 +0800
commit15bd31e629b0a5d2bf8e611b356123dd68a4f6e7 (patch)
tree24d1b1259bdfd07578ab444b07d28a8b833db8ce /src/contract_wrappers/exchange_wrapper.ts
parent287e9c7c854729cd4945d8e4a286f103466822fa (diff)
downloaddexon-sol-tools-15bd31e629b0a5d2bf8e611b356123dd68a4f6e7.tar
dexon-sol-tools-15bd31e629b0a5d2bf8e611b356123dd68a4f6e7.tar.gz
dexon-sol-tools-15bd31e629b0a5d2bf8e611b356123dd68a4f6e7.tar.bz2
dexon-sol-tools-15bd31e629b0a5d2bf8e611b356123dd68a4f6e7.tar.lz
dexon-sol-tools-15bd31e629b0a5d2bf8e611b356123dd68a4f6e7.tar.xz
dexon-sol-tools-15bd31e629b0a5d2bf8e611b356123dd68a4f6e7.tar.zst
dexon-sol-tools-15bd31e629b0a5d2bf8e611b356123dd68a4f6e7.zip
Await ZRX call
Diffstat (limited to 'src/contract_wrappers/exchange_wrapper.ts')
-rw-r--r--src/contract_wrappers/exchange_wrapper.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/contract_wrappers/exchange_wrapper.ts b/src/contract_wrappers/exchange_wrapper.ts
index 9f26c2b5d..fa946d6ad 100644
--- a/src/contract_wrappers/exchange_wrapper.ts
+++ b/src/contract_wrappers/exchange_wrapper.ts
@@ -846,7 +846,7 @@ export class ExchangeWrapper extends ContractWrapper {
}
private async _getZRXTokenAddressAsync(exchangeContractAddress: string): Promise<string> {
const exchangeInstance = await this._getExchangeContractAsync(exchangeContractAddress);
- const ZRXtokenAddress = exchangeInstance.ZRX.call();
+ const ZRXtokenAddress = await exchangeInstance.ZRX.call();
return ZRXtokenAddress;
}
}