From 15bd31e629b0a5d2bf8e611b356123dd68a4f6e7 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Mon, 3 Jul 2017 12:00:43 -0700 Subject: Await ZRX call --- src/contract_wrappers/exchange_wrapper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { const exchangeInstance = await this._getExchangeContractAsync(exchangeContractAddress); - const ZRXtokenAddress = exchangeInstance.ZRX.call(); + const ZRXtokenAddress = await exchangeInstance.ZRX.call(); return ZRXtokenAddress; } } -- cgit v1.2.3